SubRaptorX 2.0 is the newer version my old subdomain enumeration script. It combines the power of multiple tools like Assetfinder, Subfinder, Waybackurls, Httprobe, and Curl to discover, validate, and organize live subdomains. With a stylish terminal interface and automated dependency installation, it ensures a seamless experience for both security professionals and enthusiasts.
NB:- This image shows how it looks on Parrot OS. There could be slight changes in icons and text depending on the OS- ✅ Multi-Source Subdomain Enumeration: Assetfinder, Subfinder, and Waybackurls.
- ✅ Live Subdomain Validation: Httprobe and Curl-based checks.
- ✅ Automated Dependency Installation:
install.shfor Automated installation. - ✅ URL Normalization: Removes
http://andhttps://prefixes for consistency. - ✅ Deduplication: Ensures unique subdomains in the final output.
- ✅ Stylish Terminal Interface: Color-coded and easy-to-read output.
- ✅ Result Export: Clean results saved in
domain.name_live_subs.txt.
Dependencies are autonomously managed by the install.sh script utilizing Go. During testing on widely-used Linux distributions, excluding Kali Linux, I encountered a GOROOT error during the Subfinder installation process. To address this anomaly, I added a remediation below in the GOROOT Remediation section. If you encounter GOROOT error while executing install.sh, ensure you run these commands beforehand. Special thanks to prathameshbagul for their valuable contributions.
Make sure to copy all the tools to /usr/bin to make it permanantly available from anywhere.
( sudo cp ~/go/bin/* /usr/bin
Special Thanks to tomnomnom , projectdiscovery and curl for these amazing tools.
- Assetfinder: GitHub Link
- Subfinder: GitHub Link
- Httprobe: GitHub Link
- Waybackurls: GitHub Link
- Curl: Pre-installed on most Linux systems.
-
Clone the Repository:
git clone https://github.com/0xarshad/SubRaptorX-2.0.git && cd SubRaptorX-2.0
-
Run the Installation Script:
sudo chmod +x install.sh && sudo ./install.sh -
Run SubRaptorX 2.0:
chmod +x SubRaptorX.sh && ./SubRaptorX.sh
-
Run the script:
./SubRaptorX.sh
-
Enter your target domain when prompted:
🔗 Enter the Domain (eg: test.com): example.com -
The script will:
- Enumerate subdomains.
- Validate live subdomains.
- Remove duplicates and clean URLs.
- Save the final result to
domain.name_live_subs.txt.
🎯 Live Subdomains of example.com:
--------------------------------------------
sub1.example.com
sub2.example.com
sub3.example.com
--------------------------------------------
✅ Results saved in final_live_subs.txt
Important: These commands will purge any pre-existing Go installation and reinstall it while resolving path-related inconsistencies. It’s strongly recommended to back up your Go directory if it contains any critical data.
-
Remove existing Go and it's dependencies:
sudo apt-get remove golang-go gccgo-go -y && sudo apt-get remove --auto-remove golang-go gccgo-go -y && sudo rm -rvf /usr/local/go
-
Download and Extract Go Archive:
wget https://dl.google.com/go/go1.21.3.linux-amd64.tar.gz && sudo tar -xvf go1.21.3.linux-amd64.tar.gz -
Place the Go directory in the desired location (eg: /usr/local/go)
sudo mv go /usr/local
-
Set GOROOT Path and Reload Environment Variables :
export GOROOT=/usr/local/go && export GOPATH=$HOME/go && export PATH=$GOPATH/bin:$GOROOT/bin:$PATH && source ~/.profile
Now run
install.sh
Contributions are welcome! Just contact me through Linkedin
⭐ If you find SubRaptorX 2.0 useful, don't forget to star the repository! ⭐
🦖 Unleash the Raptor, conquer the domains! 🚀✨

