GhostHunter is a powerful and user-friendly tool designed to uncover hidden treasures from the Wayback Machine. It allows you to search for archived URLs (snapshots) of a specific domain, filter them by file extensions, and save the results in an organized manner. Whether you're a researcher, developer, or cybersecurity enthusiast, GhostHunter makes it easy to explore historical web data.
-
Domain Search
- Search for all archived URLs of a specific domain from the Wayback Machine.
- Automatically checks domain availability before starting the search.
-
File Extension Filtering
- Filter URLs by specific file extensions (e.g., pdf, docx, xlsx, jpg).
- Customize the list of extensions in the config.json file.
-
Concurrent URL Fetching
- Fetch URLs concurrently using multiple workers for faster results.
- Configurable number of workers for optimal performance.
-
Snapshot Finder
- Find and display snapshots (archived versions) of the discovered URLs.
- Timestamps are displayed in a human-readable format (e.g., 23 January 2025, 15:46:09).
-
Organized Results
- Save filtered URLs into separate files based on their extensions (e.g., example.com.pdf.txt, example.com.docx.txt).
- Save snapshot results into a single file for easy reference.
-
Colorful and User-Friendly Interface
- Use of colors and tables for a visually appealing and easy-to-read output.
- Summary tables provide a quick overview of the results.
-
Internet and Wayback Machine Status Check
- Automatically checks for an active internet connection and Wayback Machine availability before proceeding.
Prerequisites Go: Make sure you have Go installed on your system.
-
Clone the repository:
git clone https://github.com/mysteriza/GhostHunter.git
cd GhostHunter
-
Install Dependencies:
GhostHunter uses the following Go packages:
- github.com/briandowns/spinner
- github.com/fatih/color
- github.com/olekukonko/tablewriter
Install them using:
go get github.com/briandowns/spinner
go get github.com/fatih/color
go get github.com/olekukonko/tablewriter
Or install them globally:
go install github.com/briandowns/spinner@latest
go install github.com/fatih/color@latest
go install github.com/olekukonko/tablewriter@latest
-
Usage: Run this command to grants execution (execute) permission to the GhostHunter file:
chmod +x GhostHunter
Run the Tool (Faster Way):
./GhostHunter
Or run directly without using the build file:
go run scanner.go
You want to rebuild the file? Use:
go build -o GhostHunter
![GhostHunter Logo](https://private-user-images.githubusercontent.com/76644526/405986788-dae9e3ac-9948-4895-bd32-75ecc0145101.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzODM2MTcsIm5iZiI6MTczOTM4MzMxNywicGF0aCI6Ii83NjY0NDUyNi80MDU5ODY3ODgtZGFlOWUzYWMtOTk0OC00ODk1LWJkMzItNzVlY2MwMTQ1MTAxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDE4MDE1N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ1NmQ0ODYyZmUyZjY2YTYyZWU4Mjk0ZmNkNjViMzg0MTNhZmQ2ZTdmNmMwOTY5ZTFjMjdiOTdmYmRhNzVkNjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.u3vXZeBD2ZZAXE2KhZw_GVTQywzbuaTNf551T-A8zNg)
![GhostHunter Logo](https://private-user-images.githubusercontent.com/76644526/405988173-6302d388-f745-4eda-8fc9-dcad9d02d974.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzODM2MTcsIm5iZiI6MTczOTM4MzMxNywicGF0aCI6Ii83NjY0NDUyNi80MDU5ODgxNzMtNjMwMmQzODgtZjc0NS00ZWRhLThmYzktZGNhZDlkMDJkOTc0LmpwZz9YLUFtei1BbGdvcml0aG09QVd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ob3N0In0.mUEYipAh43JWiEACQxqvqMTU-8uFWN3urmagLW54Ddo)
I've abandoned this project, but for those of you who want to request additional features or want to make changes, please leave a message or pull request. I will consider it.
Thanks to the Wayback Machine for providing the CDX API.
Special thanks to the creators of the Go libraries used in this project: