pentesting, updated
dalfox
dalfox: an XSS scanner and utility that finds, verifies and automates reflected/DOM XSS testing.
What it’s for
Find and verify XSS (reflected and DOM-based) quickly, with parameter mining and payload verification built in — not just a dumb grep for reflection.
Install
go install github.com/hahwul/dalfox/v2@latest # https://github.com/hahwul/dalfox
Common commands
dalfox url https://example.com/search?q=test # scan a single URL
dalfox url https://example.com/search?q=test --skip-bav # skip blind/other-vuln checks, XSS only
dalfox file urls.txt # scan many URLs from a file
dalfox pipe < urls.txt # scan URLs piped in (e.g. from katana)
dalfox url https://example.com/ -H "Cookie: session=<your-session>" # authenticated scan
dalfox url https://example.com/search?q=test --mining-dict wordlist.txt # extra parameter mining
Useful flags
| Flag | Effect |
|---|---|
--skip-bav | Skip blind/other vulnerability checks, XSS only |
--mining-dict | Mine additional parameters from a wordlist |
-H | Add a header (auth cookie, custom header) |
--waf-evasion | Try payload variants to get past a WAF |
-o | Write findings to a file |
Notes
Pair it with katana — crawl the app first, pipe the URLs straight into dalfox for a fast first XSS pass across the whole site.