exploit-completion
Drive a single exploit attempt all the way to proof instead of giving up one step early — for the failure where you found the bug and wrote the right payload but never confirmed it landed. Three mechanics: (1) inspect and FOLLOW every redirect (a 3xx is a step in the flow, not the end — the reflection or state change often fires only after the Location hop); (2) diff each response against an explicit expected outcome (a named marker, a status, a body delta) — never assume a 2xx or a delivered POST means success; (3) stop and CHANGE APPROACH after N identical failures instead of re-sending the
Try your first task
A source-grounded starter task has not been verified for this skill yet.
SKILL.md
name: exploit-completiondescription: "Drive a single exploit attempt all the way to proof instead of giving up one step early — for the failure where you found the bug and wrote the right payload but never confirmed it landed. Three mechanics: (1) inspect and FOLLOW every redirect (a 3xx is a step in the flow, not the end — the reflection or state change often fires only after the Location hop); (2) diff each response against an explicit expected outcome (a named marker, a status, a body delta) — never assume a 2xx or a delivered POST means success; (3) stop and CHANGE APPROACH after N identical failures instead of re-sending the same request. Use when a payload won't land, when the exploit seems delivered but is unconfirmed, when you are following (or skipping) redirects, or when you catch yourself looping the same request. This is per-attempt proof mechanics; for 'is this signal a finding' see triage-validation, for 'don't abandon surface coverage' see redteam-mindset."sources: operator_experience, communityEXPLOIT-COMPLETION — land the proof, don't quit one step early
You found the bug. You wrote the right payload. Now finish it. The common failure is not missing the vulnerability — it is declaring defeat (or victory) before the response proves which one it is.
Hard rule: An exploit is attempted until a response confirms the expected outcome. "I sent it" is not "it worked." "It 4xx'd once" is not "it can't work." Confirmation is a response you read, named in advance.
This skill is the mechanics of completing one attempt. It is not about
whether the signal is a finding (triage-validation) or whether to keep
covering surface (redteam-mindset). It sits between them: you have a lead,
now drive it to a response you can point at.
Mechanic 1 — Inspect and FOLLOW every redirect
A 3xx is a step in the flow, not the end of it. The reflection, the token,
the state change, the error key — any of them can live one hop past the
redirect you didn't follow.
# WRONG: judge the first response, stop at the 302
curl -s -i 'https://app/deliver' --data @payload # -> 302, "looks done"
# RIGHT: see the hop, then follow it and read where it lands
curl -s -i 'https://app/deliver' --data @payload # read Location: first
curl -s -iL 'https://app/deliver' --data @payload # -L: follow, read the FINAL body
- Read
Location:before you follow — it is itself a signal. A redirect to/login, to an?error=<key>, or to aview.php?v=<constant-hash>is data about auth/session/error state, not noise (seeredteam-mindset#71). - Follow it, then diff the final body, not the 3xx. Many client-side sinks
(DOM-XSS via
location/web-message, OAuthredirect_urireflections, SSO ACS posts) only execute after the browser completes the hop. - A delivered POST is not a landed exploit. If the attack is victim-side, the proof is what the victim's request returns after the redirect fires — reproduce that hop, don't assume it.
- When a real browser context matters (JS executes, web-messages fire), drive it with the browser tooling rather than curl — but the rule is identical: let the redirect complete, then assert on the end state.
Mechanic 2 — Diff each response against an expected outcome you named first
Before sending, write down the one observable that means success. Then check for that, not for a vague "looks right."
| Exploit class | Expected outcome to assert (named in advance) |
|---|---|
| Reflected / DOM XSS | your unique marker executes / appears in the post-redirect DOM, not just echoes in source |
| IDOR / auth bypass | the other tenant's body field is present, not merely a 200 |
| SSRF (blind) | an OOB callback attributable to one parameter (see hunt-ssrf gate) |
| Redirect-gated reflection | marker present in the final body after -L, status of the last hop |
| Price / logic tamper | the changed amount persists server-side on re-fetch, not just in the response you got |
# Name the marker, then grep the FINAL response for it — binary, not vibes
MARK="xqz$(date +%s)"
curl -s -L "https://app/r?next=/x#$MARK" | grep -c "$MARK" # 0 = did NOT land
Hard rule: A
2xxis a status, not a success. Assert on the named marker / body delta / OOB hit, decided before you sent the request. If you can't state what "worked" looks like, you are not ready to send it.
- Body-diff, not status-diff. Capture the baseline (benign input) and diff the exploit response against it; a WAF 200-with-blocked-body and a real 200-with-reflection are the same status and opposite outcomes.
- No marker → no claim. A reflection without a unique, attacker-chosen token can be a coincidence (cache, static content). Make it unique, then confirm it.
Mechanic 3 — Stop and CHANGE APPROACH after N identical failures
Re-sending the same request that failed twice will fail the third time. Set N = 3: three materially identical failed attempts means the approach is wrong, not the execution.
# ponytail: N=3 identical-failure cap; raise only if each retry changes a variable
When you hit the cap, change a variable before the next send — do not repeat:
- different injection point (header vs body vs query vs path vs cookie)
- different encoding / parser (double-URL, unicode, nested, chunked,
+) - different content-type / method (
application/jsonvs form,PUT/PATCH) - the redirect hop you skipped (Mechanic 1) — the single most common "why it didn't land"
- a different confirmation channel (OOB vs in-band) when the first is silent
Hard rule: Two identical failures is the last time you send that exact request. The third attempt changes something or the approach changes. Logging "retried, still 403" ten times is not progress — it is a loop.
"Change approach" is not "stop testing." Scope stays open; you are swapping
how you prove this lead, not abandoning it (redteam-mindset DO-NOT-STOP).
If every variable is exhausted and still no confirmation, record the negative
("no redirect-gated reflection on /r; tried body/header/query × 3 encodings")
and move to the next lead — a documented negative is coverage, a loop is not.
Before / after — redirect-gated reflection
The canonical failure this skill prevents (modeled on a July 2026 external
YesWeHack blind-lab writeup of a PortSwigger "DOM XSS via web messages +
javascript: URL" exercise — grounded generically, not a repo-disclosed report):
Before (the ~20-minute loop): agent finds the vulnerable client-side JS in
seconds, writes a correct javascript:-URL web-message payload, POSTs the
exploit to the delivery endpoint, sees a 302, assumes delivery == execution,
and re-sends the identical POST for twenty minutes waiting for a callback
that was never going to come in that response — because the payload only fires
in the victim's browser after it follows the redirect and processes the
web-message.
After (this skill):
- Mechanic 1 — read the
302 Location, follow it (-L/ browser), inspect the final page where the web-message handler runs. - Mechanic 2 — assert the named marker executed in the post-redirect DOM (callback hit / alert marker), not that the POST returned 302.
- Mechanic 3 — second identical "delivered but unconfirmed" → stop, change approach: reproduce the victim hop instead of re-POSTing the exploit.
Proof lands in minutes; the loop never starts.
10-second self-check (run when a payload "won't work")
- Did I read the
Locationand follow the redirect to the final body? - Did I name the expected marker / body delta before sending, and grep for it?
- Is this my 3rd identical attempt? If so, what variable am I changing?
- Am I asserting on a response I read, or on "it was delivered"?
Related skills & boundary
| Skill | Owns | Not this skill because |
|---|---|---|
triage-validation | Is this confirmed signal a finding? (7-Q gate, before report) | runs after you have a landed, confirmed result |
redteam-mindset | Don't abandon surface coverage (engagement axis) | this is one attempt's proof mechanics, not the coverage directive |
bb-methodology | macro PROVE & ESCALATE phase + 45-min rabbit-hole timer | this is the micro-loop inside a single PROVE attempt |
hunt-ssrf / hunt-dom | class-specific detection + the OOB / web-message confirmation gates | this reuses those gates as the "expected outcome", doesn't replace them |
Compose: a hunt-* skill gives you the lead → exploit-completion drives it to
a confirmed response → triage-validation decides if it ships.