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

FlagEffect
--skip-bavSkip blind/other vulnerability checks, XSS only
--mining-dictMine additional parameters from a wordlist
-HAdd a header (auth cookie, custom header)
--waf-evasionTry payload variants to get past a WAF
-oWrite 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.

Used in

§ home
~/knubertus/home/
1,1 Top