Skip to content

AliveHunter is a tool for checking the availability of URLs using HTTP/HTTPS, with support for proxies and proxychains for distributed scanning. Save results efficiently and track progress interactively.

License

Notifications You must be signed in to change notification settings

Acorzo1983/AliveHunter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AliveHunter

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.

Features

  • 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.

Requirements

  • 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

Installation

To install AliveHunter, download the install.sh file, make it executable, and run it:

OneLiner

git clone https://github.com/Acorzo1983/AliveHunter.git && cd AliveHunter && chmod +x install.sh && ./install.sh

Manual Install

git clone https://github.com/Acorzo1983/AliveHunter.git
cd AliveHunter
chmod +x install.sh
./install.sh

Usage

Usage Examples

  1. Basic Usage:
go run AliveHunter.go -l subdomainlist.txt
  1. Save results to a specific file:
go run AliveHunter.go -l subdomainlist.txt -o alive_subdomains.txt
  1. Use with a list of proxies:
go run AliveHunter.go -l subdomainlist.txt -p proxylist.txt
  1. Configure the number of retries and timeout:
go run AliveHunter.go -l subdomainlist.txt -r 5 -t 15
  1. Divide URLs into a maximum number of blocks:
go run AliveHunter.go -l subdomainlist.txt -b 100
  1. Check only HTTPS URLs:
go run AliveHunter.go -l subdomainlist.txt --https

Complete Example with Subfinder

To use AliveHunter together with subfinder:

  1. Generate the subdomains file with subfinder:
subfinder -d example.com --silent -o subdomainlist.txt
  1. Run AliveHunter with the generated file:
go run AliveHunter.go -l subdomainlist.txt -o alive_subdomains.txt

Use of Proxychains

To use proxychains for multiproxying:

proxychains go run AliveHunter.go -l subdomainlist.txt

Help

To display the help message:

go run AliveHunter.go -h

Options

-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

Made with ❤️ by Albert.C

About

AliveHunter is a tool for checking the availability of URLs using HTTP/HTTPS, with support for proxies and proxychains for distributed scanning. Save results efficiently and track progress interactively.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published