This script automates the process of subdomain enumeration and vulnerability scanning using subfinder
, httpx
, nuclei
, and notify
. It fetches the latest binaries from GitHub, executes the necessary commands, and sends notifications via Discord.
- Automatic Binary Download: Fetches the latest versions of required binaries from GitHub.
- Subdomain Enumeration: Uses
subfinder
to find subdomains. - Live Subdomain Detection: Uses
httpx
to detect live subdomains. - Vulnerability Scanning: Uses
nuclei
to scan live subdomains for vulnerabilities. - Notification: Sends results to a Discord channel using
notify
.
- Python 3.x
requests
library: Install withpip install requests
- Discord webhook URL
-
Clone the repository:
git clone https://github.com/yourusername/repo-name.git cd repo-name
-
Install required Python libraries:
pip install requests
-
Make the script executable:
chmod +x script.py
Run the script with the following command:
./script.py <domain>
The script will:
- Download and extract the latest binaries for
subfinder
,httpx
,nuclei
, andnotify
if they are not already present. - Use
subfinder
to enumerate subdomains and save the output to a file. - Use
httpx
to find live subdomains and save the output to a file. - Use
nuclei
to scan the live subdomains for vulnerabilities. - Send the results to a configured Discord channel using
notify
.
During the first run, the script will prompt for Discord configuration details:
- Discord username
- Discord webhook URL
These details will be saved in ~/.config/notify/provider-config.yaml
.
. ├── script.py └── README.md
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! Please fork the repository and create a pull request with your changes.