[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ES7V3GHHNQ0W5D5R9B3PAF":3,"skill-same:01M7ES7V3GHHNQ0W5D5R9B3PAF":46},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7ES7V3GHHNQ0W5D5R9B3PAF","screenshot",null,"Capture web-page \u002F PoC screenshots into the engagement evidence (targets\u002F\u003Ceng>\u002Fpoc\u002F) and embed them in walkthrough.md. Live pages + authenticated\u002Fexploited states (post-login dashboard, the flag page, an SSTI\u002Fcmdi render). Runs chromium on the Kali tooling host (VPN path to targets); hands off to the evidence skill for redaction before a real report. Use when building PoC evidence or asked to \"take a screenshot \u002F capture the PoC\".","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-安全渗透\u002Fscreenshot\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: screenshot\ndescription: Capture web-page \u002F PoC screenshots into the engagement evidence (targets\u002F\u003Ceng>\u002Fpoc\u002F) and embed them in walkthrough.md. Live pages + authenticated\u002Fexploited states (post-login dashboard, the flag page, an SSTI\u002Fcmdi render). Runs chromium on the Kali tooling host (VPN path to targets); hands off to the evidence skill for redaction before a real report. Use when building PoC evidence or asked to \"take a screenshot \u002F capture the PoC\".\n---\n\n# Screenshot: visual PoC capture\n\nTurn the text walkthrough into evidence. Capture runs on the **Kali tooling host** (it has the VPN\nroute to in-scope targets); the PNG is then pulled into the vault under `targets\u002F\u003Ceng>\u002Fpoc\u002F`. Driver:\n`scripts\u002Fshot.py` (chromium headless). For redaction-before-report use `Skill(evidence)`.\n\n**One evidence dir, captured by hand.** `poc\u002F` = the curated story you choose to show (login, the\nexploited state, the flag). ALL PoC evidence is now captured MANUALLY and LIVE via `capture.sh` straight\ninto `poc\u002F` the moment a step lands - there is no auto-capture net.\n\n## Scope check\nOnly screenshot **in-scope** hosts (read `targets\u002F\u003Ceng>\u002Fscope.md`). On `passive_only` RoE a screenshot\nis fine (it's a GET you already make). Never screenshot a host you would not curl.\n\n## What to capture: EVERY breakthrough, as it happens (with retries)\nScreenshot the moment each step LANDS, not at the end - the box may expire. A breakthrough = anything\nyou'd put in the report: the **entry page**, a **leaked secret \u002F useful source** (deobfuscated JS, a\nconfig, an `app.log`), the **cipher \u002F decrypt response**, the **vuln firing**, the **authed\u002Fexploited\nstate**, the **flag**. Tell the arc (Entry -> Trigger -> Impact) AND capture the intermediate proofs\n(the leak, the crypto response) - those are exactly what a reviewer disbelieves without a picture.\n- **Always show the URL.** Every web\u002Fsource capture must carry its address bar so the image is\n  self-identifying - which page\u002Fpath it is (`https:\u002F\u002FT\u002Ffolder\u002Ffolder\u002Flog.md`), not an anonymous blob.\n  Live `\u003Curl>` mode adds it automatically; for `--html`\u002F`--term` of a fetched resource pass\n  `--url-bar \"\u003Cfull URL>\"`.\n- **Retry (box is up).** Renders fail transiently (nav timeout, cold chromium). Retry 2-3x and confirm\n  the PNG is non-empty (`[ -s out.png ]`) before moving on; while the box is up, go back and re-capture\n  anything you missed rather than shipping evidence with gaps.\nName `NN-slug.png` (NN = step order) so the evidence reads top-to-bottom.\n\n## Fastest path: `capture.sh ev` (one call, live - USE THIS by default)\nBatching captures at the end of a box is the failure mode: you lose transient state AND the live\nsituational awareness that helps pick the next move when stuck. The `ev` mode of `scripts\u002Fcapture.sh`\ncollapses the whole capture (render a card showing **command + request URL**, pull the PNG into `poc\u002F`,\nprint the md ref) into ONE call, so live capture has no friction. `cmd` and `url` are REQUIRED args - no\nanonymous card.\n```bash\n# 1) tee the step's output on the VM as you run it (safe for stateful exploits - no re-run needed):\nbash \u002Froot\u002Fvm.sh 'python3 \u002Ftmp\u002Fexploit.py 2>&1 | tee \u002Ftmp\u002Fpoc\u002Fflag3.log'\n# 2) card it the MOMENT it lands:\nscripts\u002Fcapture.sh ev \u003Ceng> flag3-contract \"POST http:\u002F\u002FT:8545 eth_sendTransaction\" \"reset()+transferDeposit()\"\n#   args: \u003Ceng> \u003Cslug> \u003Crequest-url> \u003Ccmd-label> [logfile=\u002Ftmp\u002Fpoc\u002F\u003Cslug>.log]\n#   -> saves targets\u002F\u003Ceng>\u002Fpoc\u002FNN-flag3-contract.png (NN auto-numbered), prints the ![]() ref\n```\nThe card shows `$ \u003Ccmd-label>` in the title bar AND `\u003Crequest-url>` in a browser address bar (both\nrequired) so every image says what was run and where. Use the manual `shot.py` calls below only for the\nmodes `capture.sh` does not wrap (a GUI `--window`\u002F`--screen`, an authed `--html` render).\n\n## Rendered web page: `capture.sh web`\nThe most operator-legible shot is the target **as a browser renders it** - the actual page, not a curl\ncard. `capture.sh web \u003Ceng> \u003Cslug> \u003Curl>` renders the live URL through chromium on the VM (browser-chrome\nframe + address bar) and pulls the PNG into `poc\u002F`. This is the FIRST evidence to grab on any web target\n(capture-as-is before poking), and again at each rendered exploit state (an SSTI\u002Fcmdi output page, the\nflag page):\n```bash\nscripts\u002Fcapture.sh web \u003Ceng> home http:\u002F\u002FT:PORT\u002F            # the landing page, as seen in a browser\nscripts\u002Fcapture.sh web \u003Ceng> flag http:\u002F\u002FT:PORT\u002Fadmin       # a rendered exploited\u002Fauthed state\n# opts: --no-bar (drop the address-bar frame), trailing `W H` to resize (default 1440 900)\n```\nA dead target makes it fail loud (chromium `net::ERR` -> non-zero exit, no error-page PNG pulled). For an\n**authed** page (needs a session cookie), curl-save the HTML and render it with the manual `shot.py --html\n--url-bar` call below; `web` is for GET-able live pages.\n\n## Request\u002Fresponse leads: `capture.sh req`\nThe highest-value CTF\u002Fpentest evidence is the **real curl request and response** for a lead (creds, a\nflag, a leaked source) - presentable as full-file PoC. Capture it deliberately, the moment the lead lands:\n\n**Full fidelity (`capture.sh req`):** for a request you want as a clean PoC (request line +\nheaders + body, response status + headers + body), run it through the `req` mode - it runs `curl -sS -iv`,\ncolors the request(`>`)\u002Fresponse(`\u003C`) Burp-style, and pulls the PNG into `poc\u002F`:\n```bash\nscripts\u002Fcapture.sh req \u003Ceng> \u003Cslug> -- -sk -X POST https:\u002F\u002FT:5000\u002Flogin --data @\u002Ftmp\u002Fbody.txt\n```\nFor a **crypto-forged** request (envelope\u002Fsignature), give the exploit script a `--curl` mode: it writes\nthe forged body to a file and prints the `capture.sh req` args, so the PoC is a reproducible curl, not\n\"run my python\". Never settle for a script-summary card (`POST https:\u002F\u002FT\u002Flogin` + python output) when the\nreal curl request\u002Fresponse is the artifact a client \u002F writeup needs.\n\n## Real tmux-session cards: `capture.sh tmux`\nWhen the evidence should look like an ACTUAL Kali terminal session (real commands + real output, the way\nrecon scans are captured), run the proof in a real tmux pane and screenshot the pane:\n`scripts\u002Fcapture.sh tmux \u003Ceng> \u003Cslug> \u003Cscript.sh>` runs the script in a wide tmux pane, waits for its\n`echo POC-DONE`, `--tmux`-captures the pane (FULL scrollback), colors it, and pulls the PNG into `poc\u002F`.\nWrite the script to `echo \"# comment\"` and `echo \"$ \u003Ccommand>\"` then run the real `curl -i`\u002Fexploit\ncommand. The card colors **comment (green) \u002F command (cyan) \u002F response (default)** so the three are\nvisually distinct (`shot.py --reqresp`, works on `--term` and `--tmux`).\n\n**NEVER truncate or abbreviate evidence.** Show the FULL command, FULL request, FULL response - no `...`,\nno `\u003Cresult=...>` placeholder, no eliding a base64 blob or a long body. A reviewer must verify\u002Freproduce\nfrom the image ALONE. The tooling enforces this (`capture.sh tmux` captures full pane scrollback via\n`--history` and never caps rendered lines); keep the same discipline in the script content - paste the\nreal value, never summarize it.\n\n## Capture (run on Kali via vm.sh)\nPush the script once, then shoot. `T` = target host, `PORT` = web port, `\u003Ceng>` = engagement dir.\n```bash\n# 0) push shot.py to Kali (once per session). vm.sh does NOT forward local stdin, so base64 the\n#    file INTO the command (a `... | vm.sh 'cat > file'` pipe silently writes an EMPTY file):\nB64=$(base64 -w0 scripts\u002Fshot.py); bash \u002Froot\u002Fvm.sh \"mkdir -p \u002Ftmp\u002Fpoc; echo $B64 | base64 -d > \u002Ftmp\u002Fshot.py\"\n\n# 1) LIVE page (unauth \u002F GET-able): the URL address bar is added AUTOMATICALLY\nbash \u002Froot\u002Fvm.sh 'python3 \u002Ftmp\u002Fshot.py http:\u002F\u002FT:PORT\u002Finternal --step 1 --slug login --dir \u002Ftmp\u002Fpoc --caption \"NOC login\"'\n\n# 2) AUTHED \u002F exploited state: curl WITH the session, save HTML, render it. Pass --url-bar so the\n#    image shows WHICH URL produced it (the authed path, or the exact exploit request); --base loads\n#    \u002Fstatic from the target; the cookie stays in curl, never in the browser.\nbash \u002Froot\u002Fvm.sh 'curl -s -b \"session=VAL\" http:\u002F\u002FT:PORT\u002Finternal\u002Fdashboard > \u002Ftmp\u002Fd.html;\n  python3 \u002Ftmp\u002Fshot.py --html \u002Ftmp\u002Fd.html --base http:\u002F\u002FT:PORT --url-bar \"http:\u002F\u002FT:PORT\u002Finternal\u002Fdashboard\" --step 3 --slug dashboard --dir \u002Ftmp\u002Fpoc --caption \"Dashboard via SQLi\"'\n```\nshot.py prints `saved \u003Cpath>` + a ready `md: ![caption](poc\u002FNN-slug.png)` line - keep that line.\n\n## Terminal-tool + source\u002Flog capture (--term)\nRender console output OR a fetched source\u002Flog\u002Fconfig file as a clean colored card (ANSI converted,\nnever shown raw). The fancy 2-line shell prompt is **auto-stripped** so a tmux grab is not a fused\n`rootnmap -p-` mess (`--raw` keeps prompts if you need them). For a fetched web resource, add\n`--url-bar` so the card shows its URL - a leaked source file is evidence only if you can see where it lives.\n```bash\nbash \u002Froot\u002Fvm.sh 'nmap -sV T | tee \u002Ftmp\u002Fo.txt;\n  python3 \u002Ftmp\u002Fshot.py --term \u002Ftmp\u002Fo.txt --cmd \"nmap -sV T\" --step 1 --slug nmap --dir \u002Ftmp\u002Fpoc'\n# a leaked source \u002F log \u002F config, WITH its URL in the address bar:\nbash \u002Froot\u002Fvm.sh 'curl -s http:\u002F\u002FT\u002Flogs\u002Fapp.log > \u002Ftmp\u002Fl.txt;\n  python3 \u002Ftmp\u002Fshot.py --term \u002Ftmp\u002Fl.txt --url-bar http:\u002F\u002FT\u002Flogs\u002Fapp.log --cmd \"GET \u002Flogs\u002Fapp.log\" -o \u002Ftmp\u002Fpoc\u002Fapp-log.png'\n```\n`--maxlines` (default 120) caps long output (linpeas); the card auto-sizes to wrapped rows so a long\nobfuscated-JS line does not crop the reveal. Then pull the PNG into `poc\u002F` like the web shots above.\n\n**No auto catch-all:** scan output is NOT auto-captured - screenshot the scans worth showing yourself,\nand they land in `poc\u002F` like every other deliberate story shot (the box's arc). Scans you run detached in\na tmux tab (`vm-scan.sh`) don't return output to the response, so capture those live with\n`--tmux \u003Ceng>:\u003Ctab>` once the pane has output.\n\n## Run scans in tmux + capture them (nmap\u002Fffuf\u002Fnuclei live)\nRun each scan in a named tmux tab on the VM (root, persistent - survives the vm.sh call),\none tab per target; multi-web targets get one tab per endpoint:\n```bash\nbash scripts\u002Fvm-scan.sh \u003Ceng> T 'nmap -sV -Pn T'                 # tab: T\nbash scripts\u002Fvm-scan.sh \u003Ceng> T-web-192.0.2.10 'ffuf -u http:\u002F\u002F192.0.2.10\u002FFUZZ -w wl'\n```\nTab name correlates to the target; dots\u002Fcolons\u002Fspaces become `-` (tmux target syntax).\nScreenshot a live\u002Ffinished tab as a clean colored card (no display needed):\n```bash\nbash \u002Froot\u002Fvm.sh 'python3 \u002Ftmp\u002Fshot.py --tmux \u003Ceng>:T --step 2 --slug nmap --dir \u002Ftmp\u002Fpoc'\n```\nTarget the tab by the `@NN` window id or the sanitized name (dots\u002Fcolons became `-`) that `vm-scan.sh` printed, not the raw dotted target.\nthen pull the PNG into `poc\u002F` as usual.\n\n## GUI \u002F desktop capture (scrot)\nFor real GUI apps with no text stream (Burp, Wireshark, a browser rendering an exploit)\nor the whole desktop:\n```bash\nbash \u002Froot\u002Fvm.sh 'python3 \u002Ftmp\u002Fshot.py --window \"Burp Suite\" --step 3 --slug burp --dir \u002Ftmp\u002Fpoc'\nbash \u002Froot\u002Fvm.sh 'python3 \u002Ftmp\u002Fshot.py --screen --step 4 --slug desktop --dir \u002Ftmp\u002Fpoc'\n```\nshot.py wakes + unlocks the seat session and grabs as the desktop user (root-over-SSH has\nno X authority, so a bare `scrot` fails with \"Can't open X display :0\"). `--window` grabs\nthe named app (even behind a lock); it falls back to full screen if the name is not found.\nUse `--term` for tool STDOUT text, `--tmux` for a live tmux scan tab, `--screen`\u002F`--window`\nfor GUI windows.\n\n## Pull into the vault (Kali -> WSL, base64 over the channel)\nThe PNG is born on Kali; the vault is on WSL. Transfer each:\n```bash\nmkdir -p targets\u002F\u003Ceng>\u002Fpoc\nbash \u002Froot\u002Fvm.sh 'base64 -w0 \u002Ftmp\u002Fpoc\u002F03-dashboard-after-sqli.png' | base64 -d > targets\u002F\u003Ceng>\u002Fpoc\u002F03-dashboard-after-sqli.png\n```\n\n## Embed in the walkthrough\n- Drop the printed `![caption](poc\u002FNN-slug.png)` ref **inline at the matching step** in `walkthrough.md`.\n- Maintain a `## Evidence` appendix (one row per shot) so the gallery is browsable:\n```markdown\n## Evidence\n| shot | caption |\n|------|---------|\n| ![](poc\u002F01-login.png) | NOC login (\u002Finternal) |\n| ![](poc\u002F03-dashboard-after-sqli.png) | Dashboard reached via SQLi bypass |\n```\nImages live only under `targets\u002F\u003Ceng>\u002F` (gitignored) - never embed images in `wiki\u002F` (image-free rule).\n\n## Lesson: capture live, not at the end\nThe whole box was solved (3 flags: supply-chain cred intercept -> OTP crypto crack -> smart-contract\n`reset()`), and only THEN screenshotted by re-running the commands. Two real costs: (1) no mid-engagement\nevidence to reason from while stuck - the long dead-end hunting the login username would have been easier\nto unstick with the intercepted-creds card and the cipher-response card already in hand; (2) re-running is\nunsafe for stateful steps (a spent padding-oracle or a contract `transferDeposit()` that zeroes a balance\ncannot be re-fired for a clean card). Fix: `capture.sh ev` after EACH landing step, not at the end. Also\nbanked into `shot.py`: `--term` cards budget generous bottom headroom so the last line (usually the\nflag\u002Fcred) never clips, and every card carries BOTH the command and the request URL.\n\n**Preserve the exploit code too, not just the screenshot.** When you write an exploit script (a\npayload HTML, an escape\u002Fforge script, a webshell) or read a target's source, copy it into\n`targets\u002F\u003Ceng>\u002Fpoc\u002Fscripts\u002F` alongside its card, so the reviewer has the code and the state together,\nnot just a screenshot. **Save it as `\u003Cname>.md` with the code in a ```` ```py ````\u002F```` ```sh ````\u002F```` ```js ````\u002F```` ```html ```` fence, NOT a bare\n`.py`\u002F`.sh`\u002F`.js`\u002F`.html`** - Obsidian only previews `.md`\u002Fimages in the GUI, so a raw-extension file\nis invisible to the operator (same reason `capture.sh log` writes `.md` and saved source is `-source.md`).\n\n## Redaction (real engagements only)\nBefore a client report, run `Skill(evidence)`: black-bar session cookies \u002F PII, strip\nmetadata. The authed-via-curl-to-HTML flow already keeps the session token out of the image (it's in\ncurl, not the URL bar). CTF\u002Flab: skip redaction.\n\n## Output\nReport: shots saved (paths under `poc\u002F`), the `![]()` refs added to `walkthrough.md`, any blocker\n(nav timeout -> raise `--wait`; missing styles -> set `--base`).\n","# Screenshot: visual PoC capture\n\nTurn the text walkthrough into evidence. Capture runs on the **Kali tooling host** (it has the VPN\nroute to in-scope targets); the PNG is then pulled into the vault under `targets\u002F\u003Ceng>\u002Fpoc\u002F`. Driver:\n`scripts\u002Fshot.py` (chromium headless). For redaction-before-report use `Skill(evidence)`.\n\n**One evidence dir, captured by hand.** `poc\u002F` = the curated story you choose to show (login, the\nexploited state, the flag). ALL PoC evidence is now captured MANUALLY and LIVE via `capture.sh` straight\ninto `poc\u002F` the moment a step lands - there is no auto-capture net.\n\n## Scope check\nOnly screenshot **in-scope** hosts (read `targets\u002F\u003Ceng>\u002Fscope.md`). On `passive_only` RoE a screenshot\nis fine (it's a GET you already make). Never screenshot a host you would not curl.\n\n## What to capture: EVERY breakthrough, as it happens (with retries)\nScreenshot the moment each step LANDS, not at the end - the box may expire. A breakthrough = anything\nyou'd put in the report: the **entry page**, a **leaked secret \u002F useful source** (deobfuscated JS, a\nconfig, an `app.log`), the **cipher \u002F decrypt response**, the **vuln firing**, the **authed\u002Fexploited\nstate**, the **flag**. Tell the arc (Entry -> Trigger -> Impact) AND capture the intermediate proofs\n(the leak, the crypto response) - those are exactly what a reviewer disbelieves without a picture.\n- **Always show the URL.** Every web\u002Fsource capture must carry its address bar so the image is\n  self-identifying - which page\u002Fpath it is (`https:\u002F\u002FT\u002Ffolder\u002Ffolder\u002Flog.md`), not an anonymous blob.\n  Live `\u003Curl>` mode adds it automatically; for `--html`\u002F`--term` of a fetched resource pass\n  `--url-bar \"\u003Cfull URL>\"`.\n- **Retry (box is up).** Renders fail transiently (nav timeout, cold chromium). Retry 2-3x and confirm\n  the PNG is non-empty (`[ -s out.png ]`) before moving on; while the box is up, go back and re-capture\n  anything you missed rather than shipping evidence with gaps.\nName `NN-slug.png` (NN = step order) so the evidence reads top-to-bottom.\n\n## Fastest path: `capture.sh ev` (one call, live - USE THIS by default)\nBatching captures at the end of a box is the failure mode: you lose transient state AND the live\nsituational awareness that helps pick the next move when stuck. The `ev` mode of `scripts\u002Fcapture.sh`\ncollapses the whole capture (render a card showing **command + request URL**, pull the PNG into `poc\u002F`,\nprint the md ref) into ONE call, so live capture has no friction. `cmd` and `url` are REQUIRED args - no\nanonymous card.\n```bash\n# 1) tee the step's output on the VM as you run it (safe for stateful exploits - no re-run needed):\nbash \u002Froot\u002Fvm.sh 'python3 \u002Ftmp\u002Fexploit.py 2>&1 | tee \u002Ftmp\u002Fpoc\u002Fflag3.log'\n# 2) card it the MOMENT it lands:\nscripts\u002Fcapture.sh ev \u003Ceng> flag3-contract \"POST http:\u002F\u002FT:8545 eth_sendTransaction\" \"reset()+transferDeposit()\"\n#   args: \u003Ceng> \u003Cslug> \u003Crequest-url> \u003Ccmd-label> [logfile=\u002Ftmp\u002Fpoc\u002F\u003Cslug>.log]\n#   -> saves targets\u002F\u003Ceng>\u002Fpoc\u002FNN-flag3-contract.png (NN auto-numbered), prints the ![]() ref\n```\nThe card shows `$ \u003Ccmd-label>` in the title bar AND `\u003Crequest-url>` in a browser address bar (both\nrequired) so every image says what was run and where. Use the manual `shot.py` calls below only for the\nmodes `capture.sh` does not wrap (a GUI `--window`\u002F`--screen`, an authed `--html` render).\n\n## Rendered web page: `capture.sh web`\nThe most operator-legible shot is the target **as a browser renders it** - the actual page, not a curl\ncard. `capture.sh web \u003Ceng> \u003Cslug> \u003Curl>` renders the live URL through chromium on the VM (browser-chrome\nframe + address bar) and pulls the PNG into `poc\u002F`. This is the FIRST evidence to grab on any web target\n(capture-as-is before poking), and again at each rendered exploit state (an SSTI\u002Fcmdi output page, the\nflag page):\n```bash\nscripts\u002Fcapture.sh web \u003Ceng> home http:\u002F\u002FT:PORT\u002F            # the landing page, as seen in a browser\nscripts\u002Fcapture.sh web \u003Ceng> flag http:\u002F\u002FT:PORT\u002Fadmin       # a rendered exploited\u002Fauthed state\n# opts: --no-bar (drop the address-bar frame), trailing `W H` to resize (default 1440 900)\n```\nA dead target makes it fail loud (chromium `net::ERR` -> non-zero exit, no error-page PNG pulled). For an\n**authed** page (needs a session cookie), curl-save the HTML and render it with the manual `shot.py --html\n--url-bar` call below; `web` is for GET-able live pages.\n\n## Request\u002Fresponse leads: `capture.sh req`\nThe highest-value CTF\u002Fpentest evidence is the **real curl request and response** for a lead (creds, a\nflag, a leaked source) - presentable as full-file PoC. Capture it deliberately, the moment the lead lands:\n\n**Full fidelity (`capture.sh req`):** for a request you want as a clean PoC (request line +\nheaders + body, response status + headers + body), run it through the `req` mode - it runs `curl -sS -iv`,\ncolors the request(`>`)\u002Fresponse(`\u003C`) Burp-style, and pulls the PNG into `poc\u002F`:\n```bash\nscripts\u002Fcapture.sh req \u003Ceng> \u003Cslug> -- -sk -X POST https:\u002F\u002FT:5000\u002Flogin --data @\u002Ftmp\u002Fbody.txt\n```\nFor a **crypto-forged** request (envelope\u002Fsignature), give the exploit script a `--curl` mode: it writes\nthe forged body to a file and prints the `capture.sh req` args, so the PoC is a reproducible curl, not\n\"run my python\". Never settle for a script-summary card (`POST https:\u002F\u002FT\u002Flogin` + python output) when the\nreal curl request\u002Fresponse is the artifact a client \u002F writeup needs.\n\n## Real tmux-session cards: `capture.sh tmux`\nWhen the evidence should look like an ACTUAL Kali terminal session (real commands + real output, the way\nrecon scans are captured), run the proof in a real tmux pane and screenshot the pane:\n`scripts\u002Fcapture.sh tmux \u003Ceng> \u003Cslug> \u003Cscript.sh>` runs the script in a wide tmux pane, waits for its\n`echo POC-DONE`, `--tmux`-captures the pane (FULL scrollback), colors it, and pulls the PNG into `poc\u002F`.\nWrite the script to `echo \"# comment\"` and `echo \"$ \u003Ccommand>\"` then run the real `curl -i`\u002Fexploit\ncommand. The card colors **comment (green) \u002F command (cyan) \u002F response (default)** so the three are\nvisually distinct (`shot.py --reqresp`, works on `--term` and `--tmux`).\n\n**NEVER truncate or abbreviate evidence.** Show the FULL command, FULL request, FULL response - no `...`,\nno `\u003Cresult=...>` placeholder, no eliding a base64 blob or a long body. A reviewer must verify\u002Freproduce\nfrom the image ALONE. The tooling enforces this (`capture.sh tmux` captures full pane scrollback via\n`--history` and never caps rendered lines); keep the same discipline in the script content - paste the\nreal value, never summarize it.\n\n## Capture (run on Kali via vm.sh)\nPush the script once, then shoot. `T` = target host, `PORT` = web port, `\u003Ceng>` = engagement dir.\n```bash\n# 0) push shot.py to Kali (once per session). vm.sh does NOT forward local stdin, so base64 the\n#    file INTO the command (a `... | vm.sh 'cat > file'` pipe silently writes an EMPTY file):\nB64=$(base64 -w0 scripts\u002Fshot.py); bash \u002Froot\u002Fvm.sh \"mkdir -p \u002Ftmp\u002Fpoc; echo $B64 | base64 -d > \u002Ftmp\u002Fshot.py\"\n\n# 1) LIVE page (unauth \u002F GET-able): the URL address bar is added AUTOMATICALLY\nbash \u002Froot\u002Fvm.sh 'python3 \u002Ftmp\u002Fshot.py http:\u002F\u002FT:PORT\u002Finternal --step 1 --slug login --dir \u002Ftmp\u002Fpoc --caption \"NOC login\"'\n\n# 2) AUTHED \u002F exploited state: curl WITH the session, save HTML, render it. Pass --url-bar so the\n#    image shows WHICH URL produced it (the authed path, or the exact exploit request); --base loads\n#    \u002Fstatic from the target; the cookie stays in curl, never in the browser.\nbash \u002Froot\u002Fvm.sh 'curl -s -b \"session=VAL\" http:\u002F\u002FT:PORT\u002Finternal\u002Fdashboard > \u002Ftmp\u002Fd.html;\n  python3 \u002Ftmp\u002Fshot.py --html \u002Ftmp\u002Fd.html --base http:\u002F\u002FT:PORT --url-bar \"http:\u002F\u002FT:PORT\u002Finternal\u002Fdashboard\" --step 3 --slug dashboard --dir \u002Ftmp\u002Fpoc --caption \"Dashboard via SQLi\"'\n```\nshot.py prints `saved \u003Cpath>` + a ready `md: ![caption](poc\u002FNN-slug.png)` line - keep that line.\n\n## Terminal-tool + source\u002Flog capture (--term)\nRender console output OR a fetched source\u002Flog\u002Fconfig file as a clean colored card (ANSI converted,\nnever shown raw). The fancy 2-line shell prompt is **auto-stripped** so a tmux grab is not a fused\n`rootnmap -p-` mess (`--raw` keeps prompts if you need them). For a fetched web resource, add\n`--url-bar` so the card shows its URL - a leaked source file is evidence only if you can see where it lives.\n```bash\nbash \u002Froot\u002Fvm.sh 'nmap -sV T | tee \u002Ftmp\u002Fo.txt;\n  python3 \u002Ftmp\u002Fshot.py --term \u002Ftmp\u002Fo.txt --cmd \"nmap -sV T\" --step 1 --slug nmap --dir \u002Ftmp\u002Fpoc'\n# a leaked source \u002F log \u002F config, WITH its URL in the address bar:\nbash \u002Froot\u002Fvm.sh 'curl -s http:\u002F\u002FT\u002Flogs\u002Fapp.log > \u002Ftmp\u002Fl.txt;\n  python3 \u002Ftmp\u002Fshot.py --term \u002Ftmp\u002Fl.txt --url-bar http:\u002F\u002FT\u002Flogs\u002Fapp.log --cmd \"GET \u002Flogs\u002Fapp.log\" -o \u002Ftmp\u002Fpoc\u002Fapp-log.png'\n```\n`--maxlines` (default 120) caps long output (linpeas); the card auto-sizes to wrapped rows so a long\nobfuscated-JS line does not crop the reveal. Then pull the PNG into `poc\u002F` like the web shots above.\n\n**No auto catch-all:** scan output is NOT auto-captured - screenshot the scans worth showing yourself,\nand they land in `poc\u002F` like every other deliberate story shot (the box's arc). Scans you run detached in\na tmux tab (`vm-scan.sh`) don't return output to the response, so capture those live with\n`--tmux \u003Ceng>:\u003Ctab>` once the pane has output.\n\n## Run scans in tmux + capture them (nmap\u002Fffuf\u002Fnuclei live)\nRun each scan in a named tmux tab on the VM (root, persistent - survives the vm.sh call),\none tab per target; multi-web targets get one tab per endpoint:\n```bash\nbash scripts\u002Fvm-scan.sh \u003Ceng> T 'nmap -sV -Pn T'                 # tab: T\nbash scripts\u002Fvm-scan.sh \u003Ceng> T-web-192.0.2.10 'ffuf -u http:\u002F\u002F192.0.2.10\u002FFUZZ -w wl'\n```\nTab name correlates to the target; dots\u002Fcolons\u002Fspaces become `-` (tmux target syntax).\nScreenshot a live\u002Ffinished tab as a clean colored card (no display needed):\n```bash\nbash \u002Froot\u002Fvm.sh 'python3 \u002Ftmp\u002Fshot.py --tmux \u003Ceng>:T --step 2 --slug nmap --dir \u002Ftmp\u002Fpoc'\n```\nTarget the tab by the `@NN` window id or the sanitized name (dots\u002Fcolons became `-`) that `vm-scan.sh` printed, not the raw dotted target.\nthen pull the PNG into `poc\u002F` as usual.\n\n## GUI \u002F desktop capture (scrot)\nFor real GUI apps with no text stream (Burp, Wireshark, a browser rendering an exploit)\nor the whole desktop:\n```bash\nbash \u002Froot\u002Fvm.sh 'python3 \u002Ftmp\u002Fshot.py --window \"Burp Suite\" --step 3 --slug burp --dir \u002Ftmp\u002Fpoc'\nbash \u002Froot\u002Fvm.sh 'python3 \u002Ftmp\u002Fshot.py --screen --step 4 --slug desktop --dir \u002Ftmp\u002Fpoc'\n```\nshot.py wakes + unlocks the seat session and grabs as the desktop user (root-over-SSH has\nno X authority, so a bare `scrot` fails with \"Can't open X display :0\"). `--window` grabs\nthe named app (even behind a lock); it falls back to full screen if the name is not found.\nUse `--term` for tool STDOUT text, `--tmux` for a live tmux scan tab, `--screen`\u002F`--window`\nfor GUI windows.\n\n## Pull into the vault (Kali -> WSL, base64 over the channel)\nThe PNG is born on Kali; the vault is on WSL. Transfer each:\n```bash\nmkdir -p targets\u002F\u003Ceng>\u002Fpoc\nbash \u002Froot\u002Fvm.sh 'base64 -w0 \u002Ftmp\u002Fpoc\u002F03-dashboard-after-sqli.png' | base64 -d > targets\u002F\u003Ceng>\u002Fpoc\u002F03-dashboard-after-sqli.png\n```\n\n## Embed in the walkthrough\n- Drop the printed `![caption](poc\u002FNN-slug.png)` ref **inline at the matching step** in `walkthrough.md`.\n- Maintain a `## Evidence` appendix (one row per shot) so the gallery is browsable:\n```markdown\n## Evidence\n| shot | caption |\n|------|---------|\n| ![](poc\u002F01-login.png) | NOC login (\u002Finternal) |\n| ![](poc\u002F03-dashboard-after-sqli.png) | Dashboard reached via SQLi bypass |\n```\nImages live only under `targets\u002F\u003Ceng>\u002F` (gitignored) - never embed images in `wiki\u002F` (image-free rule).\n\n## Lesson: capture live, not at the end\nThe whole box was solved (3 flags: supply-chain cred intercept -> OTP crypto crack -> smart-contract\n`reset()`), and only THEN screenshotted by re-running the commands. Two real costs: (1) no mid-engagement\nevidence to reason from while stuck - the long dead-end hunting the login username would have been easier\nto unstick with the intercepted-creds card and the cipher-response card already in hand; (2) re-running is\nunsafe for stateful steps (a spent padding-oracle or a contract `transferDeposit()` that zeroes a balance\ncannot be re-fired for a clean card). Fix: `capture.sh ev` after EACH landing step, not at the end. Also\nbanked into `shot.py`: `--term` cards budget generous bottom headroom so the last line (usually the\nflag\u002Fcred) never clips, and every card carries BOTH the command and the request URL.\n\n**Preserve the exploit code too, not just the screenshot.** When you write an exploit script (a\npayload HTML, an escape\u002Fforge script, a webshell) or read a target's source, copy it into\n`targets\u002F\u003Ceng>\u002Fpoc\u002Fscripts\u002F` alongside its card, so the reviewer has the code and the state together,\nnot just a screenshot. **Save it as `\u003Cname>.md` with the code in a ```` ```py ````\u002F```` ```sh ````\u002F```` ```js ````\u002F```` ```html ```` fence, NOT a bare\n`.py`\u002F`.sh`\u002F`.js`\u002F`.html`** - Obsidian only previews `.md`\u002Fimages in the GUI, so a raw-extension file\nis invisible to the operator (same reason `capture.sh log` writes `.md` and saved source is `-source.md`).\n\n## Redaction (real engagements only)\nBefore a client report, run `Skill(evidence)`: black-bar session cookies \u002F PII, strip\nmetadata. The authed-via-curl-to-HTML flow already keeps the session token out of the image (it's in\ncurl, not the URL bar). CTF\u002Flab: skip redaction.\n\n## Output\nReport: shots saved (paths under `poc\u002F`), the `![]()` refs added to `walkthrough.md`, any blocker\n(nav timeout -> raise `--wait`; missing styles -> set `--base`).\n",{"name":5,"description":7},"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","04-安全渗透\u002Fscreenshot",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":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill screenshot",{"tool":38,"command":39},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill screenshot",{"tool":41,"command":42},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill screenshot","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fscreenshot\u002FSKILL.md",true,[],[47,55,60,67,74,81],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":54},"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":56,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":54},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":54},"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":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":54},"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":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":54},"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":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":54},"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",[],[]]