GAU (GetAllURLs) is a simple reconnaissance tool that collects URLs associated with a target domain from multiple online sources. It helps find archived pages, hidden endpoints, JavaScript files, documents, and other URLs that may not be easily visible during normal browsing. You can install GAU in Termux and use it to perform URL gathering, reconnaissance, and basic OSINT tasks.
Here’s what you can do with GAU in Termux:
- Collect historical URLs from websites.
- Discover hidden endpoints.
- Find archived web pages.
- Gather URLs from multiple sources.
- Perform reconnaissance and OSINT tasks.
- Learn URL enumeration techniques.
Installation Commands
Below are the simple commands to install GAU in Termux. Copy and run each command one by one in the Terminal.
Update Termux packages.
pkg update && pkg upgrade -y
Install Git and Golang.
pkg install git golang -y
Install GAU.
go install github.com/lc/gau/v2/cmd/gau@latest
If the gau command conflicts with an existing shell alias, remove the alias.
unalias gau
Display the help menu to verify the installation.
gau --help
After completing the installation, GAU will be ready to use inside the Termux terminal.
Usage Guide
Collect URLs from a target domain.
gau example.com
Save URLs into a file.
gau example.com --o urls.txt
Collect URLs including subdomains.
gau --subs example.com
Collect URLs from specific providers.
gau --providers wayback,commoncrawl example.com
Collect URLs from a specific date range.
gau --from 202401 --to 202412 example.com
Display output in JSON format.
gau --json example.com
Remove duplicate parameters from URLs.
gau --fp example.com
Save unique URLs into a file.
gau example.com | sort -u > unique_urls.txt
Find JavaScript files.
gau example.com | grep ".js"
Find PDF files.
gau example.com | grep ".pdf"
Find document files.
gau example.com | grep -Ei "\.(pdf|doc|docx|xls|xlsx|ppt|pptx)$"
Choose the command you want and GAU will automatically collect URLs from supported sources and display the results inside the Termux terminal.
End Note
GAU is a useful URL gathering tool that helps collect historical and archived URLs from multiple online sources. It can be used to discover hidden endpoints, JavaScript files, documents, and other URLs related to a target domain.







