Discovery
Hunt leaked URLs behind shortener codes
urlhunter is a recon tool that downloads URLTeam's daily archives of decoded URL-shortener links and analyzes them for given keywords and dates, mining freshly expanded short URLs for interesting targets.
installgo install github.com/utkusen/urlhunter@latest
Go · MIT license
overview
What urlhunter does
urlhunter downloads daily archives of expanded short links (bit.ly, goo.gl) and matches a --keywords file against them. Scope collections with --date (single day or range). Point --archives at a folder so later runs reuse downloads.
Reach for it when private docs, internal dashboards, or one-time shares may have been shortened and later published in those archives. Every hit is a real expanded URL that once hid behind a short code.
Scope with --keywords and --date, then hand the FILE and FOLDER of expanded URLs to httpx or urlfinder. Pair with gau when you also need Wayback and Common Crawl coverage beyond shortener datasets.
source github.com/utkusen/urlhunter
use cases
urlhunter use cases
Hunt leaked links by keyword
Search the shortener archives for an organization's domain or project name to surface short links that expanded to sensitive internal URLs.
Scope a search to a date range
Use a single date or a range to choose which daily collections urlhunter downloads and searches, keeping a run fast and focused.
Reuse a local archive folder
Point urlhunter at a persistent archives folder so later runs search already-downloaded collections instead of refetching them.
Feed OSINT findings downstream
Pass the matched URLs to a prober or a parameter extractor so discovered links get classified and tested like any other endpoint.
reference
urlhunter inputs and flags
| Name | Type | Flag | Description |
|---|---|---|---|
| keywords | FILE | --keywords | Path to a file of strings to search for in the archives. |
| date | STRING | --date | Single date (2020-11-20) or range (2020-11-10:2020-11-20) of collections to search. |
| archives | FOLDER | --archives | Directory holding the archive files; downloaded to ./archives on first run. |
Showing key inputs. urlhunter exposes 3 inputs in total.
example
urlhunter command examples
# search a date range of shortener archives for keywords
urlhunter --keywords keywords.txt --date 2020-11-10:2020-11-20 --archives ./archives[*] Downloading the archive: 2020-11-20.tar.gz
[*] Uncompressing the archive: 2020-11-20.tar.gz
[*] Matches are being searched across 1 archive(s)...
https://bit.ly/2Kx9dLp|https://example.com/shared/q3-forecast.pdf
https://bit.ly/3aQ1wZt|https://docs.example.com/internal/onboarding
https://goo.gl/f4Rt2M|https://staging.example.com/dashboard?ref=email
https://bit.ly/2Yh8Nre|http://198.51.100.24/backups/db.sql
[*] urlhunter is finished. Matches saved to: output.txtguidance
urlhunter vs alternatives
Use urlhunter when you need OSINT over shortener-exposed URL archives, not general web-archive harvests. Search is offline after the --archives download. Pair with urlfinder or gau for broader passive URL coverage.
| Tool | Pick it when |
|---|---|
| urlfinder | Passive URL discovery from archives and OSINT sources. urlhunter searches shortener archives only. |
| gau | Pulls URLs from Wayback and Common Crawl. urlhunter targets shortened-link collections. |
| waymore | Deep web-archive harvesting. urlhunter stays on the shortener-exposed URL dataset. |
faq
urlhunter FAQ
related
More Discovery tools
cariddi
Crawl a domain list and scan responses for endpoints, secrets, tokens, and juicy files.
crawlergo
Browser-driven crawler that harvests requests for downstream scanners.
dirsearch
Web path scanner.
feroxbuster
Recursive content discovery with smart defaults and rich response filters.
gittools-dumper-extractor
Download an exposed .git and rebuild the working tree in one pass.
jsluice
Extract URLs, paths, and secrets from JavaScript with a syntax tree.