Ultimate Waybackurls Cheat Sheet
Ultimate Waybackurls Cheat Sheet
A reference guide for extracting historical URLs from the Wayback Machine. Uncover hidden endpoints and old files.
1. Basic Syntax
The fundamental structure of a Waybackurls command.
Input Methods
waybackurls example.com: Single domaincat domains.txt | waybackurls: Pipe domainswaybackurls -d example.com: Domain flagecho "example.com" | waybackurls: Echo pipe
Basic Usage
waybackurls example.com: Basic fetchwaybackurls example.com -o urls.txt: Save outputwaybackurls -l domains.txt: List inputwaybackurls example.com -no-subs: No subdomains
By default, waybackurls includes all subdomains. Use
-no-subs flag to limit results to only the specified domain without subdomains.
2. Input & Output
Single Domain
Fetch all URLs for a single domain.
Multiple Domains
Process multiple domains from file.
Save Results
Save output to a file.
Append to File
Append results to existing file.
Pipe Input
Pipe domains from stdin.
Silent Mode
Output only URLs without errors.
| Input/Output Flag | Description |
|---|---|
-l, --list [FILE] | Read domains from file |
-o, --output [FILE] | Save results to file |
-d, --domain | Domain to fetch |
-no-subs | Exclude subdomains |
-dates | Include dates with URLs |
-get-versions | Get all URL versions |
3. Filtering & Processing
Filter for Interesting Extensions
Extract URLs with specific file extensions.
Filter for Parameters
Find URLs with query parameters.
Filter for Interesting Paths
Discover admin, login, and API endpoints.
Remove Duplicates
Sort and remove duplicate URLs.
Extract Unique Paths
Get unique directory paths.
Filter by Status Code
Filter URLs that return specific status codes.
Focus on sensitive extensions:
.bak, .old, .backup, .sql, .zip, .tar.gz, .env, .conf. These often contain sensitive information.
4. Pipeline Integration
With HTTPx
Check which URLs are still alive.
With Nuclei
Scan historical URLs for vulnerabilities.
With SQLmap
Test historical URLs for SQL injection.
With Gf Patterns
Extract URLs matching common vulnerability patterns.
With Ffuf
Fuzz discovered paths for hidden files.
Full Recon Pipeline
Complete historical URL analysis.
Create bash scripts that combine waybackurls with other tools for automated recon. Example: Fetch URLs → Filter for parameters → Test for SQLi → Save results.
5. Advanced Usage
Include Dates
Show dates when URLs were archived.
Get All Versions
Retrieve all historical versions of URLs.
No Subdomains
Exclude subdomains from results.
Multiple Domains with Output
Process multiple domains and save results.
Extract JavaScript Files
Find JavaScript files for further analysis.
Find API Endpoints
Discover API endpoints from historical data.
Extract Sensitive Files
Find backup, config, and sensitive files.
| Advanced Flag | Description |
|---|---|
-dates | Show archive dates |
-get-versions | Get all URL versions |
-no-subs | Exclude subdomains |
-l [FILE] | Read from file |
-o [FILE] | Write to file |
6. Companion Tools
Gf (Grep Framework)
Pattern-based filtering for URLs.
Qsreplace
Replace query string values for fuzzing.
Unfurl
Extract and visualize URL components.
Uro
Deduplicate URLs by removing parameter values.
Kxss
Find reflected XSS candidates.
Dalfox
Advanced XSS scanning on discovered URLs.
| Tool | Purpose | Usage |
|---|---|---|
gf | Pattern filtering | gf [pattern] |
qsreplace | Replace query values | qsreplace [value] |
unfurl | URL parsing | unfurl [key] |
uro | URL deduplication | uro |
kxss | XSS detection | kxss |
dalfox | XSS scanning | dalfox pipe |
Install companion tools with Go:
go install github.com/tomnomnom/gf@latest, go install github.com/tomnomnom/qsreplace@latest, go install github.com/tomnomnom/unfurl@latest.
Post a Comment