AliveHunter is a tool written in Go to check if URLs are alive (respond with HTTP 200 OK). It is designed to work with subdomain lists and supports the use of proxies to distribute requests.
- URL verification in blocks for improved efficiency.
- Supports multiple retries and configurable timeout.
- Supports proxies to distribute the load of requests.
- Detailed error logging in
error_log.txt
. - Progress bar to visualize the status of the process.
- Go 1.16 or higher
- The following Go libraries:
github.com/fatih/color
github.com/schollz/progressbar/v3
To install the dependencies, run:
go get github.com/fatih/color
go get github.com/schollz/progressbar/v3
To install AliveHunter
, download the install.sh
file, make it executable, and run it:
git clone https://github.com/Acorzo1983/AliveHunter.git && cd AliveHunter && chmod +x install.sh && ./install.sh
git clone https://github.com/Acorzo1983/AliveHunter.git
cd AliveHunter
chmod +x install.sh
./install.sh
- Basic Usage:
go run AliveHunter.go -l subdomainlist.txt
- Save results to a specific file:
go run AliveHunter.go -l subdomainlist.txt -o alive_subdomains.txt
- Use with a list of proxies:
go run AliveHunter.go -l subdomainlist.txt -p proxylist.txt
- Configure the number of retries and timeout:
go run AliveHunter.go -l subdomainlist.txt -r 5 -t 15
- Divide URLs into a maximum number of blocks:
go run AliveHunter.go -l subdomainlist.txt -b 100
- Check only HTTPS URLs:
go run AliveHunter.go -l subdomainlist.txt --https
To use AliveHunter
together with subfinder
:
- Generate the subdomains file with
subfinder
:
subfinder -d example.com --silent -o subdomainlist.txt
- Run
AliveHunter
with the generated file:
go run AliveHunter.go -l subdomainlist.txt -o alive_subdomains.txt
To use proxychains
for multiproxying:
proxychains go run AliveHunter.go -l subdomainlist.txt
To display the help message:
go run AliveHunter.go -h
-l string
File containing URLs to check (required)
-o string
Output file to save the results (optional, default is <input_file>_alive.txt)
-p string
File containing proxy list (optional)
-r int
Number of retries for failed requests (default 5)
-t int
Timeout for HTTP requests in seconds (default 15)
-b int
Maximum number of blocks to divide (default 1000)
--https
Check only HTTPS URLs
-h Show help message