Inspired by gau, dirtywords builds targeted wordlists for a given domain using "dirty" knowledge from AlienVault's Open Threat Exchange, the Wayback Machine, and Common Crawl.
https://un4gi.io/blog/introducing-dirtywords-a-targeted-word-list-generator
Use the -h
flag to display available flags
$ dirtywords -h
Flag | Description | Example |
---|---|---|
-d |
target domain | dirtywords -d example.com |
-minLen |
minimum word length | dirtywords -d example.com -minLen 4 |
-maxLen |
maximum word length | dirtywords -d example.com -maxLen 15 |
-nosubs |
ignore subdomains of target domain | dirtywords -d example.com -nosubs |
-o |
wordlist output file | dirtywords -d example.com -o example-words.txt |
-s |
sort words uniquely (set by default) | dirtywords -d example.com -s false |
Example usage:
$ dirtywords -d example.com -nosubs -minLen 4 -maxLen 10 -o example-list.txt
To install, use:
go get -u github.com/un4gi/dirtywords
Thank you to @tomnomnom and @lc for the inspiration, and thank you to @incidrthreat for helping me work out the sort functionality!