Onion Scanner is a Python script that performs port scans using Nmap on Onion websites within the Tor network.
- Python 3
- Tor
- Proxychains
- Nmap
- Clone this repository or download the ZIP file and extract it.
- Install the dependencies by running the command
pip install -r requirements.txt
. - Copy the
onion_scan.py
script to the/usr/local/bin
directory and make sure it's executable withchmod +x onion_scan.py
.
Run the script with the command:
sudo python3 onion_scan.py
The script will guide you through the following steps:
- Enter the Onion URL.
- Choose the type of scan:
- Stealth Scan (-sS)
- Quick Scan (no options)
- Comprehensive Scan (-A)
The scan output will be displayed in the terminal and saved to an XML file with a name based on the Onion URL.