@hostclubeos/miraos 0.0.5-beta → 0.0.6-beta
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/bug-hunter/references/apk-redteam-pipeline/SKILL.md +407 -0
- package/bundled/bug-hunter/references/bb-local-toolkit/SKILL.md +1558 -0
- package/bundled/bug-hunter/references/bb-methodology/SKILL.md +513 -0
- package/bundled/bug-hunter/references/bug-bounty/SKILL.md +1604 -0
- package/bundled/bug-hunter/references/bugcrowd-reporting/SKILL.md +331 -0
- package/bundled/bug-hunter/references/cloud-iam-deep/SKILL.md +521 -0
- package/bundled/bug-hunter/references/enterprise-vpn-attack/SKILL.md +356 -0
- package/bundled/bug-hunter/references/evidence-hygiene/SKILL.md +401 -0
- package/bundled/bug-hunter/references/exploit-completion/SKILL.md +155 -0
- package/bundled/bug-hunter/references/hunt-api-misconfig/SKILL.md +268 -0
- package/bundled/bug-hunter/references/hunt-aspnet/SKILL.md +277 -0
- package/bundled/bug-hunter/references/hunt-ato/SKILL.md +140 -0
- package/bundled/bug-hunter/references/hunt-auth-bypass/SKILL.md +449 -0
- package/bundled/bug-hunter/references/hunt-brute-force/SKILL.md +297 -0
- package/bundled/bug-hunter/references/hunt-business-logic/SKILL.md +237 -0
- package/bundled/bug-hunter/references/hunt-cache-poison/SKILL.md +338 -0
- package/bundled/bug-hunter/references/hunt-captcha-bypass/SKILL.md +92 -0
- package/bundled/bug-hunter/references/hunt-cicd/SKILL.md +267 -0
- package/bundled/bug-hunter/references/hunt-clickjacking/SKILL.md +66 -0
- package/bundled/bug-hunter/references/hunt-cloud-misconfig/SKILL.md +195 -0
- package/bundled/bug-hunter/references/hunt-cors/SKILL.md +291 -0
- package/bundled/bug-hunter/references/hunt-csrf/SKILL.md +374 -0
- package/bundled/bug-hunter/references/hunt-deserialization/SKILL.md +178 -0
- package/bundled/bug-hunter/references/hunt-dispatch/SKILL.md +380 -0
- package/bundled/bug-hunter/references/hunt-dom/SKILL.md +279 -0
- package/bundled/bug-hunter/references/hunt-exceptional-conditions/SKILL.md +67 -0
- package/bundled/bug-hunter/references/hunt-file-upload/SKILL.md +158 -0
- package/bundled/bug-hunter/references/hunt-fintech-graphql/SKILL.md +245 -0
- package/bundled/bug-hunter/references/hunt-forgot-password/SKILL.md +70 -0
- package/bundled/bug-hunter/references/hunt-graphql/SKILL.md +368 -0
- package/bundled/bug-hunter/references/hunt-grpc/SKILL.md +273 -0
- package/bundled/bug-hunter/references/hunt-host-header/SKILL.md +265 -0
- package/bundled/bug-hunter/references/hunt-html-injection/SKILL.md +62 -0
- package/bundled/bug-hunter/references/hunt-http-smuggling/SKILL.md +87 -0
- package/bundled/bug-hunter/references/hunt-idor/SKILL.md +389 -0
- package/bundled/bug-hunter/references/hunt-jwt-crypto/SKILL.md +177 -0
- package/bundled/bug-hunter/references/hunt-k8s/SKILL.md +293 -0
- package/bundled/bug-hunter/references/hunt-laravel/SKILL.md +211 -0
- package/bundled/bug-hunter/references/hunt-ldap/SKILL.md +307 -0
- package/bundled/bug-hunter/references/hunt-lfi/SKILL.md +266 -0
- package/bundled/bug-hunter/references/hunt-llm-ai/SKILL.md +245 -0
- package/bundled/bug-hunter/references/hunt-mfa-bypass/SKILL.md +134 -0
- package/bundled/bug-hunter/references/hunt-misc/SKILL.md +333 -0
- package/bundled/bug-hunter/references/hunt-nextjs/SKILL.md +255 -0
- package/bundled/bug-hunter/references/hunt-nodejs/SKILL.md +219 -0
- package/bundled/bug-hunter/references/hunt-nosqli/SKILL.md +166 -0
- package/bundled/bug-hunter/references/hunt-ntlm-info/SKILL.md +270 -0
- package/bundled/bug-hunter/references/hunt-oauth/SKILL.md +414 -0
- package/bundled/bug-hunter/references/hunt-open-redirect/SKILL.md +179 -0
- package/bundled/bug-hunter/references/hunt-race-condition/SKILL.md +485 -0
- package/bundled/bug-hunter/references/hunt-rag-vector/SKILL.md +167 -0
- package/bundled/bug-hunter/references/hunt-rce/SKILL.md +494 -0
- package/bundled/bug-hunter/references/hunt-saml/SKILL.md +112 -0
- package/bundled/bug-hunter/references/hunt-session/SKILL.md +298 -0
- package/bundled/bug-hunter/references/hunt-shadow-api/SKILL.md +153 -0
- package/bundled/bug-hunter/references/hunt-sharepoint/SKILL.md +437 -0
- package/bundled/bug-hunter/references/hunt-source-leak/SKILL.md +301 -0
- package/bundled/bug-hunter/references/hunt-spa-api/SKILL.md +123 -0
- package/bundled/bug-hunter/references/hunt-springboot/SKILL.md +241 -0
- package/bundled/bug-hunter/references/hunt-sqli/SKILL.md +422 -0
- package/bundled/bug-hunter/references/hunt-ssrf/SKILL.md +514 -0
- package/bundled/bug-hunter/references/hunt-ssti/SKILL.md +117 -0
- package/bundled/bug-hunter/references/hunt-subdomain/SKILL.md +335 -0
- package/bundled/bug-hunter/references/hunt-tls-network/SKILL.md +355 -0
- package/bundled/bug-hunter/references/hunt-websocket/SKILL.md +285 -0
- package/bundled/bug-hunter/references/hunt-xss/SKILL.md +450 -0
- package/bundled/bug-hunter/references/hunt-xxe/SKILL.md +422 -0
- package/bundled/bug-hunter/references/ios-redteam-pipeline/SKILL.md +287 -0
- package/bundled/bug-hunter/references/m365-entra-attack/SKILL.md +384 -0
- package/bundled/bug-hunter/references/meme-coin-audit/SKILL.md +358 -0
- package/bundled/bug-hunter/references/mid-engagement-ir-detection/SKILL.md +353 -0
- package/bundled/bug-hunter/references/offensive-osint/README.md +98 -0
- package/bundled/bug-hunter/references/offensive-osint/SKILL.md +399 -0
- package/bundled/bug-hunter/references/offensive-osint/references/breach-and-credentials.md +128 -0
- package/bundled/bug-hunter/references/offensive-osint/references/dork-corpus.md +180 -0
- package/bundled/bug-hunter/references/offensive-osint/references/helpers-and-automation.md +231 -0
- package/bundled/bug-hunter/references/offensive-osint/references/identity-fabric.md +305 -0
- package/bundled/bug-hunter/references/offensive-osint/references/people-osint.md +105 -0
- package/bundled/bug-hunter/references/offensive-osint/references/probes-and-wordlists.md +1266 -0
- package/bundled/bug-hunter/references/offensive-osint/references/recon-stack.md +282 -0
- package/bundled/bug-hunter/references/offensive-osint/references/recon-techniques.md +341 -0
- package/bundled/bug-hunter/references/offensive-osint/references/saas-public-surfaces.md +138 -0
- package/bundled/bug-hunter/references/offensive-osint/references/secret-patterns.md +67 -0
- package/bundled/bug-hunter/references/offensive-osint/references/secret-validators.md +329 -0
- package/bundled/bug-hunter/references/offensive-osint/references/sector-notes.md +72 -0
- package/bundled/bug-hunter/references/offensive-osint/references/severity-matrix.md +108 -0
- package/bundled/bug-hunter/references/offensive-osint/references/specialized-osint.md +199 -0
- package/bundled/bug-hunter/references/offensive-osint/references/tooling-install.md +188 -0
- package/bundled/bug-hunter/references/offensive-osint/scripts/assets/FONT-LICENSE.txt +13 -0
- package/bundled/bug-hunter/references/offensive-osint/scripts/assets/archivo-black.woff2 +0 -0
- package/bundled/bug-hunter/references/offensive-osint/scripts/dashboard.py +968 -0
- package/bundled/bug-hunter/references/offensive-osint/scripts/h1_reference.py +402 -0
- package/bundled/bug-hunter/references/offensive-osint/scripts/secret_scan.py +180 -0
- package/bundled/bug-hunter/references/okta-attack/SKILL.md +397 -0
- package/bundled/bug-hunter/references/osint-methodology/README.md +66 -0
- package/bundled/bug-hunter/references/osint-methodology/SKILL.md +1704 -0
- package/bundled/bug-hunter/references/recon-scope-triage/SKILL.md +89 -0
- package/bundled/bug-hunter/references/redteam-mindset/SKILL.md +401 -0
- package/bundled/bug-hunter/references/redteam-report-template/SKILL.md +347 -0
- package/bundled/bug-hunter/references/regression-hunting/SKILL.md +98 -0
- package/bundled/bug-hunter/references/report-writing/SKILL.md +568 -0
- package/bundled/bug-hunter/references/security-arsenal/SKILL.md +912 -0
- package/bundled/bug-hunter/references/supply-chain-attack-recon/SKILL.md +648 -0
- package/bundled/bug-hunter/references/triage-validation/SKILL.md +418 -0
- package/bundled/bug-hunter/references/vmware-vcenter-attack/SKILL.md +372 -0
- package/bundled/bug-hunter/references/web2-recon/SKILL.md +698 -0
- package/bundled/bug-hunter/references/web3-audit/SKILL.md +606 -0
- package/chunks/{acpAgent-UHWDA3W7.js → acpAgent-OGBFWA5R.js} +2 -2
- package/chunks/{chunk-BX3KM7OK.js → chunk-2PB6TEZU.js} +1 -1
- package/chunks/{chunk-NYM67KKZ.js → chunk-34YXJ3CX.js} +1 -1
- package/chunks/{chunk-FXANOHXI.js → chunk-3GA3NTAV.js} +3 -3
- package/chunks/{chunk-MUS4ADP7.js → chunk-5JKJSIIP.js} +1 -1
- package/chunks/{chunk-N4RIISOE.js → chunk-7JT2V4AW.js} +1 -1
- package/chunks/{chunk-4IVYVCCU.js → chunk-BB2C4HKQ.js} +1 -1
- package/chunks/{chunk-SK3QOQR4.js → chunk-F2XELUO3.js} +1 -1
- package/chunks/{chunk-RKFNQQNA.js → chunk-GPI53DWB.js} +1 -1
- package/chunks/{chunk-744QTJR2.js → chunk-HHSHBOT7.js} +2 -2
- package/chunks/{chunk-PXBJPUGN.js → chunk-HMID4D72.js} +1 -1
- package/chunks/{chunk-MQWKOOSR.js → chunk-IC2WDA6V.js} +1 -1
- package/chunks/{chunk-2TDRP3IX.js → chunk-JRPR5IME.js} +1 -1
- package/chunks/{chunk-2GVKPBW5.js → chunk-ORVQPZMQ.js} +1 -1
- package/chunks/{chunk-FRADUGRC.js → chunk-RGVXNWZA.js} +1 -1
- package/chunks/{chunk-QEIX42MZ.js → chunk-SHLTP6ZB.js} +1 -1
- package/chunks/{chunk-D3QZNIFB.js → chunk-SOCXRMZM.js} +4 -4
- package/chunks/{chunk-NKWATWMD.js → chunk-TI7J4HX2.js} +1 -1
- package/chunks/{chunk-62DMHXLL.js → chunk-VGPV5AVJ.js} +1 -1
- package/chunks/{chunk-XZNF4YNN.js → chunk-Y3BCVTFB.js} +1 -1
- package/chunks/{chunk-D3YOXHQF.js → chunk-YVORE4W4.js} +1 -1
- package/chunks/{daemon-status-provider-F6KB2LNG.js → daemon-status-provider-FCQ4YYAY.js} +1 -1
- package/chunks/{fast-path-DWPD5EGQ.js → fast-path-ZBD7IYQM.js} +1 -1
- package/chunks/{llm-RBI7KXDE.js → llm-DQNQEAFW.js} +3 -3
- package/chunks/{local-HSG47CNJ.js → local-ZRC4XZCJ.js} +1 -1
- package/chunks/{managed-local-serve-YE4JDFNP.js → managed-local-serve-B2KOLPB5.js} +1 -1
- package/chunks/{managed-runtime-bootstrap-SHEXUEZN.js → managed-runtime-bootstrap-MREL5UC2.js} +1 -1
- package/chunks/{managed-runtime-ssh-worker-BZNJV7IB.js → managed-runtime-ssh-worker-GUKAZFAJ.js} +1 -1
- package/chunks/{memory-JTDN5AEA.js → memory-ZYPCFYPF.js} +1 -1
- package/chunks/{nonInteractiveCli-BXHX6EIU.js → nonInteractiveCli-JG6PKBAD.js} +1 -1
- package/chunks/{review-PC4IDLCG.js → review-N3VFZQMI.js} +1 -1
- package/chunks/{run-qwen-serve-XRWVWOZK.js → run-qwen-serve-4MZRQFXK.js} +1 -1
- package/chunks/{serve-JCUT4WK7.js → serve-EQN6QAXF.js} +1 -1
- package/chunks/{server-HMTRZJF7.js → server-CCEHAI25.js} +1 -1
- package/chunks/{session-RGLZU6KY.js → session-HNUJSV5A.js} +1 -1
- package/chunks/{start-opentui-ui-YNTPK7LX.js → start-opentui-ui-6MCAEWAW.js} +1 -1
- package/chunks/{startInteractiveUI-MWA2VYTJ.js → startInteractiveUI-657JWOTK.js} +1 -1
- package/chunks/{validateNonInterActiveAuth-3433WFLE.js → validateNonInterActiveAuth-CP5WFNAE.js} +1 -1
- package/chunks/{version-XCFKTEY3.js → version-SIM74L5K.js} +1 -1
- package/cli.js +1 -1
- package/export-transcript-document.js +1 -1
- package/package.json +3 -3
- package/web-shell/assets/{PierreFilePreview-DEhWK46v.js → PierreFilePreview-Dkt6iPte.js} +1 -1
- package/web-shell/assets/SpreadsheetPreview-I4yiL7q3.js +1 -0
- package/web-shell/assets/{WorkspaceFileBrowser-64vDYikf.js → WorkspaceFileBrowser-Du9bMpNo.js} +1 -1
- package/web-shell/assets/{abnfDiagram-VCTEODGH-C2WWURam.js → abnfDiagram-VCTEODGH-CGY1lCxS.js} +1 -1
- package/web-shell/assets/{agents-route-j5ba59xn.js → agents-route-kcQ3YUNc.js} +1 -1
- package/web-shell/assets/{arc-Bkr_-GVn.js → arc-BUMNyJDV.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-D_v_wDDW.js → architectureDiagram-5GKGNRK7-CEfXhEKD.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-Csxc3YNo.js → blockDiagram-NRAW4CY4-BH8hjvlX.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-PXryoJCB.js → c4Diagram-UCG6FXSJ-Dfl946ex.js} +1 -1
- package/web-shell/assets/channel-CoZByzPk.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-DwK5UBHI.js → chunk-2Q5K7J3B-CBvGm-pD.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-BC1hvD6_.js → chunk-5VM5RSS4-k06tGOfl.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-iFe0IxfJ.js → chunk-F27PBJKO-Dv4S4vSq.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-ROSuKRxI.js → chunk-G27WJ6UU-7LY0yu3f.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-CYHS6PxA.js → chunk-JWPE2WC7-B-CgVEuJ.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-D5bFMqCy.js → chunk-LCL6LL3I-D0TrWx1f.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-BJh77MGv.js → chunk-POPQ4Y6H-B97ZANlR.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-Cs81aYft.js → chunk-SVP7TREG-2CO_3G76.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-DqDbN44E.js → chunk-XXDRQBXY-CFbSHjzz.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-BgKRvG5r.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-BgKRvG5r.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-DhjrwADJ.js → cose-bilkent-JH36ORCC-K-uc8eFw.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-Dh7t-_3M.js → cynefin-OW5HDTMX-Cb0lt2G3.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-5J4kto0C.js → cynefinDiagram-5FMLGOSQ-DWkqpFuH.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-28AdbIcl.js → dagre-3AP2YEHR-Cs8gu3Q4.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-DmksuoIf.js → diagram-S7CK7UJ4-DlMLXUgK.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-DUjgQ8Fg.js → diagram-UQ7AKVKN-68PPYL92.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-DUe_FpG-.js → diagram-VSXAHHWV-CxIdRSbx.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-CJJ70teK.js → diagram-VX7I27RA-G3C0kWVW.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-BgABlJO4.js → diagram-Z3DM3KII-CwEuAgyS.js} +1 -1
- package/web-shell/assets/{docx-preview-BMBWboRx.js → docx-preview-3XzkP9iR.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-B3nK_Lh7.js → ebnfDiagram-PWID7BFC-DLeMX1Ka.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-DCTdCWlu.js → erDiagram-SSCWMZ5O-CoQLSOGk.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-CPxk2UUl.js → flowDiagram-A5DVABFB-BXUV-Qml.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-WZzMAKht.js → ganttDiagram-EL5Y4UJY-sWi6Lowi.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-DKcO5ugU.js → gitGraphDiagram-WWUBYQGX-Dsh4-kB4.js} +1 -1
- package/web-shell/assets/{index-CkRLMu1y.js → index-CrSq-SfJ.js} +6 -6
- package/web-shell/assets/{index-Dbm3-Fps.js → index-DjwWlZt0.js} +1 -1
- package/web-shell/assets/{infoDiagram-RXCK75RN-CJX5DzdL.js → infoDiagram-RXCK75RN-JZ6nFIgB.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-fF0Id5B6.js → ishikawaDiagram-5VMMS53U-qJj-sQFs.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-BOAezBVe.js → journeyDiagram-EYS64GPL-Ck0jv8SO.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-DdNBof9J.js → kanban-definition-3QL26DDD-Ck6_Ydmt.js} +1 -1
- package/web-shell/assets/{layout-CXX3l5w0.js → layout-yLaSulE8.js} +1 -1
- package/web-shell/assets/{linear-Dnaccp-S.js → linear-CXw5rE6U.js} +1 -1
- package/web-shell/assets/{mermaid.core-BzdC3B6T.js → mermaid.core-6WQsyLcq.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-D-gMUzLw.js → mindmap-definition-FBJOCRG2-BDAmAz8h.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-B9n1WVZq.js → pegDiagram-XKGWAZYB-Rvn5mpol.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-ok49U0zT.js → pieDiagram-E7YTZNPT-DHw4avFL.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-DJKha-v3.js → quadrantDiagram-AXDQQJYC-vch6jDK-.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-DjL4pl7y.js → railroadDiagram-O6MQD6OU-DfVCzYpO.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-BpmmRw3A.js → requirementDiagram-EFPCY7ZU-BQAnwpSv.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-KpteHB8X.js → sankeyDiagram-P5KCCOFB-fJuxdbbi.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-COMghCpA.js → sequenceDiagram-WJ2MYXX4-B3TtvHJp.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-5fEwJD-n.js → sizeCapture-X5ZJPWSS-DlJmbcZd.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-CnC7oXvs.js → stateDiagram-HBIQ2CUA--0kiPvGS.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-Dw-ppcvp.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-bVlhZdve.js → swimlanes-XN3QIQJK-CAytfKbo.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-B36XZQuh.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-CBvYgMu5.js → timeline-definition-24CTP7MA-C-BUmwu6.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-CUTYvV1j.js → vennDiagram-4TSXK5OY-W_dgEGv2.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-Djl4gxCB.js → wardleyDiagram-VM6X3IG4-ikAv1QJ9.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-BcJZtI2X.js → xychartDiagram-S5SC5T6Z-BmY9Ily6.js} +1 -1
- package/web-shell/index.html +1 -1
- package/web-shell/sw.js +1 -1
- package/web-shell/assets/SpreadsheetPreview-C-GgIuPX.js +0 -1
- package/web-shell/assets/channel-6Pj4KPAs.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-BaTUuuB8.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-BaTUuuB8.js +0 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-V_cfZFBL.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-25wVg0WL.js +0 -8
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
# Dork Corpus & GitHub Code-Search Dorks
|
|
2
|
+
|
|
3
|
+
> Reference content for the `offensive-osint` skill. Originally §18 + §19 of the monolithic SKILL.md (refactored 2026-05-02 for size/load efficiency).
|
|
4
|
+
|
|
5
|
+
## 18. Dork Corpus — 80+ templates, 9 categories
|
|
6
|
+
|
|
7
|
+
Substitute `{domain}` with the target domain (e.g., `example.com`) and `{company}` with the company name (e.g., `Acme Corporation`). Run via Google, Bing, Brave, DuckDuckGo, Yandex, Baidu — engines surface different results.
|
|
8
|
+
|
|
9
|
+
### 18.1 Files
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
site:{domain} filetype:env
|
|
13
|
+
site:{domain} ext:env OR ext:ini OR ext:cfg OR ext:conf
|
|
14
|
+
site:{domain} ext:sql OR ext:sqlite OR ext:dump OR ext:bak
|
|
15
|
+
site:{domain} ext:pem OR ext:key OR ext:p12 OR ext:pfx
|
|
16
|
+
site:{domain} ext:log
|
|
17
|
+
site:{domain} intitle:"index of"
|
|
18
|
+
site:{domain} inurl:.git OR inurl:/.git/
|
|
19
|
+
site:{domain} inurl:backup OR inurl:.bak OR inurl:old
|
|
20
|
+
site:{domain} ext:yml OR ext:yaml
|
|
21
|
+
site:{domain} ext:properties
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### 18.2 Admin / login panels
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
site:{domain} inurl:admin OR inurl:login OR inurl:sso OR inurl:dashboard
|
|
28
|
+
site:{domain} intitle:"phpMyAdmin"
|
|
29
|
+
site:{domain} intitle:"Jenkins"
|
|
30
|
+
site:{domain} intitle:"Grafana"
|
|
31
|
+
site:{domain} intitle:"Kibana"
|
|
32
|
+
site:{domain} intitle:"Splunk"
|
|
33
|
+
site:{domain} (intitle:"login" OR intitle:"sign in")
|
|
34
|
+
site:{domain} intitle:"GitLab"
|
|
35
|
+
site:{domain} intitle:"Swagger" OR intitle:"OpenAPI"
|
|
36
|
+
site:{domain} inurl:phpinfo
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### 18.3 Secrets / credential leakage
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
"{domain}" ("api_key" OR "apikey" OR "access_token")
|
|
43
|
+
"{domain}" (password OR passwd OR pwd)
|
|
44
|
+
site:pastebin.com "{domain}"
|
|
45
|
+
site:ghostbin.com "{domain}"
|
|
46
|
+
site:rentry.co "{domain}"
|
|
47
|
+
site:gist.github.com "{domain}"
|
|
48
|
+
site:hastebin.com "{domain}"
|
|
49
|
+
"{domain}" "BEGIN RSA PRIVATE KEY"
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### 18.4 Cloud / CI / shadow-IT
|
|
53
|
+
|
|
54
|
+
```
|
|
55
|
+
site:s3.amazonaws.com "{domain}"
|
|
56
|
+
site:storage.googleapis.com "{domain}"
|
|
57
|
+
site:blob.core.windows.net "{domain}"
|
|
58
|
+
site:digitaloceanspaces.com "{domain}"
|
|
59
|
+
site:trello.com "{domain}"
|
|
60
|
+
site:*.atlassian.net "{domain}"
|
|
61
|
+
site:dev.azure.com "{domain}"
|
|
62
|
+
site:bitbucket.org "{domain}"
|
|
63
|
+
site:firebaseio.com "{domain}"
|
|
64
|
+
site:herokuapp.com "{domain}"
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### 18.5 Docs / intel mining
|
|
68
|
+
|
|
69
|
+
```
|
|
70
|
+
site:{domain} filetype:pdf (confidential OR internal OR restricted)
|
|
71
|
+
site:{domain} filetype:xlsx OR filetype:csv
|
|
72
|
+
site:{domain} filetype:docx
|
|
73
|
+
site:scribd.com "{company}"
|
|
74
|
+
"{company}" filetype:pdf (salary OR payroll OR org-chart OR "organization chart")
|
|
75
|
+
site:linkedin.com/in "{company}"
|
|
76
|
+
site:slideshare.net "{company}"
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### 18.6 Vuln indicators
|
|
80
|
+
|
|
81
|
+
```
|
|
82
|
+
site:{domain} intext:"sql syntax" OR intext:"you have an error in your sql"
|
|
83
|
+
site:{domain} intext:"Warning: mysql_"
|
|
84
|
+
site:{domain} intext:"Fatal error:" intext:"on line"
|
|
85
|
+
site:{domain} intext:"stack trace" OR intext:"Traceback (most recent call last)"
|
|
86
|
+
"Apache/2.4.49" site:{domain}
|
|
87
|
+
"Server: nginx/1.14" site:{domain}
|
|
88
|
+
site:{domain} inurl:wp-content OR inurl:wp-includes
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### 18.7 Internal tool exposure
|
|
92
|
+
|
|
93
|
+
```
|
|
94
|
+
site:{domain} intitle:"Splunk"
|
|
95
|
+
site:{domain} intitle:"Grafana"
|
|
96
|
+
site:{domain} intitle:"Kibana"
|
|
97
|
+
site:{domain} intitle:"Prometheus Time Series"
|
|
98
|
+
site:{domain} intitle:"Jaeger UI"
|
|
99
|
+
site:{domain} intitle:"AlertManager"
|
|
100
|
+
site:{domain} intitle:"Argo CD"
|
|
101
|
+
site:{domain} intitle:"Sonarqube"
|
|
102
|
+
site:{domain} intitle:"Sentry"
|
|
103
|
+
site:{domain} intitle:"Confluence"
|
|
104
|
+
site:{domain} intitle:"Jira"
|
|
105
|
+
site:{domain} intitle:"GitLab"
|
|
106
|
+
site:{domain} intitle:"Gitea"
|
|
107
|
+
site:{domain} intitle:"Drone CI"
|
|
108
|
+
site:{domain} inurl:"/jenkins/"
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
### 18.8 Backup / dump file extensions
|
|
112
|
+
|
|
113
|
+
```
|
|
114
|
+
site:{domain} ext:bak OR ext:backup OR ext:old OR ext:orig OR ext:save OR ext:swp
|
|
115
|
+
site:{domain} ext:tar OR ext:tar.gz OR ext:tgz OR ext:zip OR ext:rar OR ext:7z
|
|
116
|
+
site:{domain} ext:db OR ext:sqlite OR ext:sqlite3 OR ext:mdb
|
|
117
|
+
site:{domain} ext:dump OR ext:rdb OR ext:bson
|
|
118
|
+
site:{domain} (intext:"-- MySQL dump" OR intext:"PostgreSQL database dump")
|
|
119
|
+
site:{domain} ext:pcap OR ext:pcapng OR ext:cap
|
|
120
|
+
site:{domain} ext:core OR ext:hprof OR ext:dmp
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
### 18.9 Sector-specific (healthcare / finance / gov)
|
|
124
|
+
|
|
125
|
+
```
|
|
126
|
+
# Healthcare
|
|
127
|
+
site:{domain} (filetype:pdf OR filetype:xlsx) (HIPAA OR PHI OR "patient records")
|
|
128
|
+
site:{domain} ("DICOM" OR "HL7" OR "ICD-10")
|
|
129
|
+
|
|
130
|
+
# Finance
|
|
131
|
+
site:{domain} (filetype:pdf OR filetype:xlsx) (SOC OR "audit report" OR "internal control")
|
|
132
|
+
site:{domain} (filetype:pdf OR filetype:xlsx) ("Form 10-K" OR "Form 10-Q" OR earnings)
|
|
133
|
+
site:{domain} ("SWIFT" OR "BIC" OR IBAN OR "wire transfer")
|
|
134
|
+
|
|
135
|
+
# Gov / public sector
|
|
136
|
+
site:{domain} (filetype:pdf OR filetype:doc) (FOUO OR "controlled unclassified" OR CUI)
|
|
137
|
+
site:{domain} (filetype:pdf OR filetype:xlsx) ("personnel security" OR clearance)
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
### 18.10 Result classification
|
|
141
|
+
|
|
142
|
+
After running, score each result via URL signature → title hint → snippet regex:
|
|
143
|
+
- **CRITICAL URL signatures:** `.pem`, `.p12`, `.pfx`, `.key` extensions; `id_rsa` filename.
|
|
144
|
+
- **HIGH URL signatures:** `/.env`, `/.git/`, database dumps, `wp-config.bak`, `/phpmyadmin`, `/jenkins`, `/phpinfo.php`.
|
|
145
|
+
- **MEDIUM URL signatures:** `/admin`, `/login`, `/swagger`, `.log`, `/backup`, `.DS_Store`.
|
|
146
|
+
- Snippet content (e.g., a secret regex hit in the snippet) overrides URL signature only if higher severity.
|
|
147
|
+
- Confidence: snippet-only match = TENTATIVE (operator must visit URL to confirm; tag detectability=medium).
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
## 19. GitHub Code-Search Dorks for Targets — 13 dorks
|
|
152
|
+
|
|
153
|
+
Apply each template to `{target}` (root domain stem like `acme`), `{domain}` (full root domain like `acme.com`), and optionally `{company}` (`Acme Corporation`):
|
|
154
|
+
|
|
155
|
+
```
|
|
156
|
+
"{target}" filename:.env
|
|
157
|
+
"{target}" filename:.env.example
|
|
158
|
+
"{target}" filename:config
|
|
159
|
+
"{target}" AWS_ACCESS_KEY_ID
|
|
160
|
+
"{target}" AWS_SECRET_ACCESS_KEY
|
|
161
|
+
"{target}" password
|
|
162
|
+
"{target}" api_key
|
|
163
|
+
"{target}" secret
|
|
164
|
+
"{target}" authorization: Bearer
|
|
165
|
+
"{target}" filename:id_rsa
|
|
166
|
+
"{target}" filename:.git-credentials
|
|
167
|
+
"{target}" filename:wp-config.php
|
|
168
|
+
"@{domain}" password # emails + password context
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
**Requirements:** GitHub personal access token (any scope; recommend a fine-grained PAT with read-only repo access). Rate limit per token; concurrency cap ≤5.
|
|
172
|
+
|
|
173
|
+
**For each result:**
|
|
174
|
+
1. Fetch the file (or relevant fragment) via the GitHub Contents API.
|
|
175
|
+
2. Run the secret catalog (§17).
|
|
176
|
+
3. If a secret hits → `SECRET_LEAK` finding with catalog severity, evidence = repo URL + file path + matched secret (truncated, last 4 chars only).
|
|
177
|
+
4. Optional: clone the repo to a tempdir, run `trufflehog`/`gitleaks` for full history scan.
|
|
178
|
+
|
|
179
|
+
---
|
|
180
|
+
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
# AI-Assisted OSINT, Archiving, Automation, Sidecar, Helpers
|
|
2
|
+
|
|
3
|
+
> Reference content for the `offensive-osint` skill. Originally §33 + §34 + §35 + §36 + §48 of the monolithic SKILL.md (refactored 2026-05-02 for size/load efficiency).
|
|
4
|
+
|
|
5
|
+
## 33. AI-Assisted OSINT
|
|
6
|
+
|
|
7
|
+
> **Warning:** Never paste PII, sensitive IOCs, or unique pivots into cloud LLMs. They log inputs and may use them for training. Use local models for sensitive analysis.
|
|
8
|
+
|
|
9
|
+
| Tool | Strength |
|
|
10
|
+
|------|---------|
|
|
11
|
+
| [ChatGPT](https://chat.openai.com/) (paid) | Log parsing, dataset analysis, Code Interpreter for CSV/JSON, Vision OCR. |
|
|
12
|
+
| [Claude](https://claude.ai/) (paid) | 200K-token context for large doc dumps + report synthesis. |
|
|
13
|
+
| [Gemini](https://gemini.google.com/) | Long-context; Deep Research mode with citations. |
|
|
14
|
+
| [Perplexity Pro](https://www.perplexity.ai/) (paid) | Real-time web search + reasoning. |
|
|
15
|
+
|
|
16
|
+
**Local / privacy-preserving:** [Ollama](https://ollama.com/), [LM Studio](https://lmstudio.ai/), [GPT4All](https://gpt4all.io/).
|
|
17
|
+
|
|
18
|
+
### 33.1 Commercial AI OSINT Platforms
|
|
19
|
+
|
|
20
|
+
- [Cylect](https://www.cylect.io/) — entity extraction + link analysis.
|
|
21
|
+
- [Fivecast Matrix](https://www.fivecast.com/products/matrix/) — generative-AI triage for social-media datasets.
|
|
22
|
+
- [Recorded Future](https://www.recordedfuture.com/) — AI-driven threat intel.
|
|
23
|
+
- [DarkOwl Vision](https://www.darkowl.com/) — darknet data analysis.
|
|
24
|
+
|
|
25
|
+
### 33.2 Deepfake & Synthetic Media Detection
|
|
26
|
+
|
|
27
|
+
- [Sensity AI](https://sensity.ai/), [Reality Defender](https://realitydefender.com/), [Adobe Content Credentials Verify](https://contentcredentials.org/verify), [CarNet](https://carnet.ai/).
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## 34. Archiving & Evidence Preservation
|
|
32
|
+
|
|
33
|
+
- [archive.today](https://archive.today/) — one-page archiver + screenshot.
|
|
34
|
+
- [URLScan.io](https://urlscan.io/) — webpage scan + resource map.
|
|
35
|
+
- [ArchiveBox](https://archivebox.io/) — self-hosted (HTML, PDF, screenshots, media).
|
|
36
|
+
- [Hunchly](https://www.hunch.ly/) — investigator evidence capture (paid).
|
|
37
|
+
- Wayback SavePageNow API v3 — on-demand archiving with job IDs.
|
|
38
|
+
- [SingleFileZ](https://github.com/gildas-lormeau/SingleFileZ) — browser ext for offline HTML.
|
|
39
|
+
- [Kasm Workspaces](https://kasmweb.com/) — containerized OSINT browser isolation.
|
|
40
|
+
|
|
41
|
+
**Evidence handling:** URL + UTC timestamp + PNG + WARC/SingleFileZ archive, SHA-256 hash all downloads, separate work profiles per case, store evidence read-only, JSONL run logs with `run_id` + tool versions.
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## 35. Automation & Workflows
|
|
46
|
+
|
|
47
|
+
- [n8n](https://n8n.io/) — self-hosted workflow automation (RSS → scrape → alert pipelines).
|
|
48
|
+
- [Huginn](https://github.com/huginn/huginn) — agent-based monitoring/scraping/alerting.
|
|
49
|
+
- [Playwright](https://playwright.dev/) — headless browser automation with stealth plugins.
|
|
50
|
+
- [Browsertrix Crawler](https://github.com/webrecorder/browsertrix-crawler) — archival crawling with WARC export.
|
|
51
|
+
- [Prefect](https://www.prefect.io/) / [Apache Airflow](https://airflow.apache.org/) — workflow orchestration.
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
## 36. Cross-Module Sidecar Coordination
|
|
56
|
+
|
|
57
|
+
When you run a multi-module recon, late-arriving outputs need to feed into already-running modules. The pattern:
|
|
58
|
+
|
|
59
|
+
1. Each module writes a sidecar JSON to a known location when it finishes:
|
|
60
|
+
- `<scan>/mobile_endpoints.json` — endpoints + hostnames extracted from APK static analysis.
|
|
61
|
+
- `<scan>/secrets_sidecar.json` — hostnames + endpoints + Firebase project IDs from secrets-beyond-github sweep.
|
|
62
|
+
- `<scan>/sso_tenants.json` — discovered IdP tenants for breach correlation.
|
|
63
|
+
2. Downstream modules check for sidecars on start; if present, ingest.
|
|
64
|
+
3. Cross-feed: API discovery consumes both `mobile_endpoints.json` and `secrets_sidecar.json`; SSO×breach correlation consumes `sso_tenants.json` and the breach DB.
|
|
65
|
+
|
|
66
|
+
**Sidecar shape (mobile_endpoints.json example):**
|
|
67
|
+
```json
|
|
68
|
+
{
|
|
69
|
+
"endpoints": [
|
|
70
|
+
{"method": "GET", "url": "https://api.acme.com/v1/users", "source": "apk:com.acme.android"},
|
|
71
|
+
{"method": "POST", "url": "https://api.acme.com/v1/login", "source": "apk:com.acme.android"}
|
|
72
|
+
],
|
|
73
|
+
"hostnames": ["api.acme.com", "cdn.acme.com"],
|
|
74
|
+
"firebase_project_ids": ["acme-prod-12345"]
|
|
75
|
+
}
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
When you implement an ad-hoc multi-tool recon (no platform), use a `tmpdir + JSON sidecars + a one-line manifest` pattern. Composable, debuggable, replay-able.
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
## 48. Runnable Helper — `secret_scan.py`
|
|
84
|
+
|
|
85
|
+
Drop-in Python helper that mirrors the 29-pattern catalog from §17. Pure stdlib, no dependencies. For operator use against captured text.
|
|
86
|
+
|
|
87
|
+
```python
|
|
88
|
+
#!/usr/bin/env python3
|
|
89
|
+
"""Stdlib-only secret scanner. Mirrors the 29-pattern catalog.
|
|
90
|
+
|
|
91
|
+
Usage:
|
|
92
|
+
echo "AKIAIOSFODNN7EXAMPLE" | python3 secret_scan.py
|
|
93
|
+
python3 secret_scan.py file1.txt file2.js dir/
|
|
94
|
+
|
|
95
|
+
Output: one JSON object per line: {pattern, severity, category, match, file, line}
|
|
96
|
+
"""
|
|
97
|
+
import json
|
|
98
|
+
import os
|
|
99
|
+
import re
|
|
100
|
+
import sys
|
|
101
|
+
|
|
102
|
+
SEV_CRITICAL = "critical"
|
|
103
|
+
SEV_HIGH = "high"
|
|
104
|
+
SEV_MEDIUM = "medium"
|
|
105
|
+
SEV_LOW = "low"
|
|
106
|
+
|
|
107
|
+
PATTERNS = [
|
|
108
|
+
("AWS_ACCESS_KEY", SEV_CRITICAL, "aws", r"\b(AKIA|ASIA)[0-9A-Z]{16}\b"),
|
|
109
|
+
("AWS_SECRET_TYPED", SEV_CRITICAL, "aws", r"(?i)aws[_\-]?secret[_\-]?access[_\-]?key['\"\s:=]+([A-Za-z0-9/+=]{40})"),
|
|
110
|
+
("AWS_SECRET_LOOSE", SEV_HIGH, "aws", r"(?i)aws(.{0,20})?(secret|sk)[\"'=: ]+([0-9a-z/+=]{40})"),
|
|
111
|
+
("GCP_SERVICE_ACCOUNT", SEV_CRITICAL, "gcp", r'"type"\s*:\s*"service_account"'),
|
|
112
|
+
("GOOGLE_API_KEY", SEV_HIGH, "gcp", r"\bAIza[0-9A-Za-z_\-]{35}\b"),
|
|
113
|
+
("GH_PAT_CLASSIC", SEV_CRITICAL, "github", r"\bghp_[A-Za-z0-9]{36}\b"),
|
|
114
|
+
("GH_PAT_FINEGRAINED", SEV_CRITICAL, "github", r"\bgithub_pat_[A-Za-z0-9_]{82}\b"),
|
|
115
|
+
("GH_OAUTH", SEV_HIGH, "github", r"\bgho_[A-Za-z0-9]{36}\b"),
|
|
116
|
+
("GH_S2S", SEV_HIGH, "github", r"\bgh[usr]_[A-Za-z0-9]{36,}\b"),
|
|
117
|
+
("STRIPE_LIVE", SEV_CRITICAL, "stripe", r"\bsk_live_[0-9A-Za-z]{24,}\b"),
|
|
118
|
+
("STRIPE_TEST", SEV_LOW, "stripe", r"\bsk_test_[0-9A-Za-z]{24,}\b"),
|
|
119
|
+
("SLACK_TOKEN", SEV_HIGH, "slack", r"\bxox[abpors]-[0-9A-Za-z\-]{10,48}\b"),
|
|
120
|
+
("SLACK_WEBHOOK", SEV_MEDIUM, "slack", r"https://hooks\.slack\.com/services/T[A-Z0-9]+/B[A-Z0-9]+/[A-Za-z0-9]+"),
|
|
121
|
+
("SENDGRID", SEV_HIGH, "email_svc", r"\bSG\.[A-Za-z0-9_\-]{22}\.[A-Za-z0-9_\-]{43}\b"),
|
|
122
|
+
("MAILGUN_V1", SEV_HIGH, "email_svc", r"\bkey-[0-9a-zA-Z]{32}\b"),
|
|
123
|
+
("MAILGUN_LOOSE", SEV_HIGH, "email_svc", r"\bkey-[0-9a-f]{32}\b"),
|
|
124
|
+
("TWILIO_API", SEV_HIGH, "twilio", r"\bSK[0-9a-fA-F]{32}\b"),
|
|
125
|
+
("TWILIO_SID", SEV_MEDIUM, "twilio", r"\bAC[a-f0-9]{32}\b"),
|
|
126
|
+
("TWILIO_AUTH", SEV_HIGH, "twilio", r"(?i)twilio(.{0,20})?(auth|token)[\"'=: ]+([a-f0-9]{32})"),
|
|
127
|
+
("HEROKU_API", SEV_MEDIUM, "paas", r"(?i)heroku(.{0,20})?api[\"'=: ]+([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})"),
|
|
128
|
+
("FIREBASE_URL", SEV_LOW, "firebase", r"\bhttps?://[a-z0-9\-]+\.firebaseio\.com\b"),
|
|
129
|
+
("JWT", SEV_MEDIUM, "jwt", r"\beyJ[A-Za-z0-9_\-]{10,}\.eyJ[A-Za-z0-9_\-]{10,}\.[A-Za-z0-9_\-]{10,}\b"),
|
|
130
|
+
("BEARER_AUTH", SEV_MEDIUM, "bearer", r"(?i)authorization[\"'=: ]+bearer\s+[A-Za-z0-9._\-]{20,}"),
|
|
131
|
+
("BASIC_AUTH_URL", SEV_MEDIUM, "basic_auth", r"https?://[^/\s:@]+:[^/\s:@]+@[^/\s]+"),
|
|
132
|
+
("RSA_PRIVKEY", SEV_CRITICAL, "private_key", r"-----BEGIN RSA PRIVATE KEY-----"),
|
|
133
|
+
("EC_PRIVKEY", SEV_CRITICAL, "private_key", r"-----BEGIN EC PRIVATE KEY-----"),
|
|
134
|
+
("OPENSSH_PRIVKEY", SEV_CRITICAL, "private_key", r"-----BEGIN OPENSSH PRIVATE KEY-----"),
|
|
135
|
+
("GENERIC_PRIVKEY", SEV_CRITICAL, "private_key", r"-----BEGIN (DSA |PGP |)PRIVATE KEY-----"),
|
|
136
|
+
("GENERIC_API_KEY", SEV_MEDIUM, "generic", r"(?i)(?:api[_\-]?key|apikey|api_secret|access_token|secret[_\-]?token)['\"\s:=]+[\"']([A-Za-z0-9+/=_\-]{24,})[\"']"),
|
|
137
|
+
]
|
|
138
|
+
|
|
139
|
+
COMPILED = [(n, s, c, re.compile(p)) for (n, s, c, p) in PATTERNS]
|
|
140
|
+
|
|
141
|
+
def scan_text(text: str, source: str = "<stdin>"):
|
|
142
|
+
for line_no, line in enumerate(text.splitlines(), start=1):
|
|
143
|
+
for name, sev, cat, rx in COMPILED:
|
|
144
|
+
for m in rx.finditer(line):
|
|
145
|
+
yield {
|
|
146
|
+
"pattern": name,
|
|
147
|
+
"severity": sev,
|
|
148
|
+
"category": cat,
|
|
149
|
+
"match": m.group(0)[:80], # truncate to avoid huge dumps
|
|
150
|
+
"source": source,
|
|
151
|
+
"line": line_no,
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
def scan_path(path: str):
|
|
155
|
+
if os.path.isdir(path):
|
|
156
|
+
for root, _, files in os.walk(path):
|
|
157
|
+
for f in files:
|
|
158
|
+
p = os.path.join(root, f)
|
|
159
|
+
yield from scan_path(p)
|
|
160
|
+
return
|
|
161
|
+
try:
|
|
162
|
+
with open(path, "r", errors="replace") as fh:
|
|
163
|
+
yield from scan_text(fh.read(), source=path)
|
|
164
|
+
except Exception:
|
|
165
|
+
return
|
|
166
|
+
|
|
167
|
+
def main():
|
|
168
|
+
if len(sys.argv) > 1:
|
|
169
|
+
for arg in sys.argv[1:]:
|
|
170
|
+
for hit in scan_path(arg):
|
|
171
|
+
print(json.dumps(hit))
|
|
172
|
+
else:
|
|
173
|
+
data = sys.stdin.read()
|
|
174
|
+
for hit in scan_text(data):
|
|
175
|
+
print(json.dumps(hit))
|
|
176
|
+
|
|
177
|
+
if __name__ == "__main__":
|
|
178
|
+
main()
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
Save as `secret_scan.py`, then:
|
|
182
|
+
```bash
|
|
183
|
+
python3 secret_scan.py path/to/repo/ # scan a directory tree
|
|
184
|
+
python3 secret_scan.py file1 file2 file3 # scan specific files
|
|
185
|
+
cat my.log | python3 secret_scan.py # pipe stdin
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
Output is JSONL — one finding per line — drops cleanly into `jq` for filtering or directly into a finding store.
|
|
189
|
+
|
|
190
|
+
---
|
|
191
|
+
|
|
192
|
+
## 49. Runnable Helper — `h1_reference.py`
|
|
193
|
+
|
|
194
|
+
HackerOne Hacktivity reference agent. Queries HackerOne's **public** GraphQL API for
|
|
195
|
+
disclosed reports during recon — no API key required (max 50 results/page). Use it to
|
|
196
|
+
surface validated techniques and business-impact framing for the target's tech stack
|
|
197
|
+
before you hunt. Pure stdlib.
|
|
198
|
+
|
|
199
|
+
```bash
|
|
200
|
+
# Best-validated techniques to start from
|
|
201
|
+
python3 h1_reference.py --top-voted --limit 25
|
|
202
|
+
|
|
203
|
+
# Highest-bounty reports (signal for impact framing)
|
|
204
|
+
python3 h1_reference.py --top-bounty --limit 25
|
|
205
|
+
|
|
206
|
+
# Scope to a class / CWE / program
|
|
207
|
+
python3 h1_reference.py --query "idor" --severity high critical
|
|
208
|
+
python3 h1_reference.py --cwe "CWE-918" --program <handle>
|
|
209
|
+
python3 h1_reference.py --lookup-program <handle>
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
Pairs with the bundled `docs/disclosed-reports/` pattern libraries: `h1_reference.py`
|
|
213
|
+
pulls live disclosed reports; the pattern libraries are the curated per-class digests.
|
|
214
|
+
|
|
215
|
+
## 50. Runnable Helper — `dashboard.py`
|
|
216
|
+
|
|
217
|
+
Zero-dependency localhost recon console that wraps `secret_scan.py` and
|
|
218
|
+
`h1_reference.py` behind a stdlib web UI. Binds to `127.0.0.1` by default — the scan
|
|
219
|
+
surface can read arbitrary local files you point it at, so it is never exposed to the
|
|
220
|
+
network.
|
|
221
|
+
|
|
222
|
+
```bash
|
|
223
|
+
python3 dashboard.py # http://127.0.0.1:8765
|
|
224
|
+
python3 dashboard.py --port 9000 # custom port
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
Use it for a fast visual pass — paste a blob or point at a path to aggregate secrets by
|
|
228
|
+
severity/category, and browse disclosed-report references — without leaving the box.
|
|
229
|
+
|
|
230
|
+
---
|
|
231
|
+
|