Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/un4gi/dirtywords
A targeted word list generation tool
https://github.com/un4gi/dirtywords
bugbounty content-discovery enumeration golang pentesting web
Last synced: 3 months ago
JSON representation
A targeted word list generation tool
- Host: GitHub
- URL: https://github.com/un4gi/dirtywords
- Owner: un4gi
- License: mit
- Created: 2021-08-06T02:55:57.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-05-21T04:43:11.000Z (over 2 years ago)
- Last Synced: 2024-06-20T06:27:01.258Z (5 months ago)
- Topics: bugbounty, content-discovery, enumeration, golang, pentesting, web
- Language: Go
- Homepage:
- Size: 28.3 KB
- Stars: 77
- Watchers: 3
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hacking-lists - un4gi/dirtywords - A targeted word list generation tool (Go)
README
# dirtywords
[![License](https://img.shields.io/badge/license-MIT-_red.svg)](https://opensource.org/licenses/MIT) [![Twitter Follow](https://img.shields.io/twitter/follow/un4gi_io?label=%40un4gi_io&style=social)](https://twitter.com/un4gi_io)Inspired by [gau](https://github.com/lc/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
## Usage:
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
```## Installation
To install, use:
```
go get -u github.com/un4gi/dirtywords
```## Thanks
Thank you to [@tomnomnom](https://github.com/tomnomnom) and [@lc](https://github.com/lc) for the inspiration, and thank you to [@incidrthreat](https://github.com/incidrthreat) for helping me work out the sort functionality!