| name | gau |
| description | Auth/lab ref: Passive URL mining tool that fetches known URLs from Wayback Machine, Common Crawl, URLScan, and OTX. |
| license | MIT |
| compatibility | Linux, Windows, macOS. |
| metadata | {"author":"AeonDave","version":"1.1"} |
gau (getallurls)
Passive URL mining from Wayback Machine, Common Crawl, URLScan.io, and AlienVault OTX — no requests to target.
Quick Start
gau target.com
gau --subs target.com
echo target.com | gau | httpx -silent
Core Flags
| Flag | Description |
|---|
--subs | Include subdomains |
--providers <list> | Sources: wayback,commoncrawl,urlscan,otx |
--blacklist <ext> | Exclude extensions (e.g., png,jpg,gif,css,woff) |
--fc <codes> | Filter by status codes (from URLScan data) |
--ft <types> | Filter by content type |
--mc <codes> | Match status codes |
--threads <n> | Concurrent threads |
--retries <n> | Retry count |
--timeout <n> | Timeout per request |
--verbose | Verbose output |
--json | JSON output (includes status, content-type, length) |
-o <file> | Output file |
--config <file> | Config file path |
Common Workflows
gau --subs --blacklist png,jpg,gif,svg,ico,css,woff,woff2,ttf target.com
gau --providers wayback,urlscan target.com
gau --json target.com > urls.json
gau target.com | grep "?"
gau target.com | grep "?" | \
sed 's/=.*/=/' | sort -u
gau target.com | httpx -silent -mc 200
gau target.com | grep -E "(/api/|/v[0-9]+/)" | sort -u
gau target.com | grep -E "\.(bak|old|conf|cfg|env|log|sql|tar|zip|gz)$"
gau target.com | httpx -silent | nuclei -tags exposure,misconfig -severity medium,high
Parameter Mining
gau target.com | grep "?" | \
python3 -c "
import sys, urllib.parse
params = set()
for url in sys.stdin:
parsed = urllib.parse.urlparse(url.strip())
for k in urllib.parse.parse_qs(parsed.query).keys():
params.add(k)
print('\n'.join(sorted(params)))
" > params.txt
ffuf -u "https://target.com/page?FUZZ=test" -w params.txt -ac
Config File (~/.gau.toml)
providers = ["wayback", "commoncrawl", "urlscan", "otx"]
threads = 1
verbose = false
retries = 3
timeout = 45
blacklist = ["png", "jpg", "gif", "svg", "ico", "css", "woff", "woff2"]
Resources
| File | When to load |
|---|
references/sources.md | Provider details, URL parsing patterns, combination with other tools |