For this script to work, you need to install some dependencies, the following is for kali linux.
-
sudo apt install tor
-
nano /etc/tor/torrc
- uncomment '
ControlPort 9051' -
sudo systemctl restart tor
-
sudo systemctl start tor
-
pip3 install -r requirements.txt
python3 scan.py -h# help and more informationpython3 scan.py <TARGET># standard port scan, changing IP address every 5 ports scanedpython3 scan.py --tor-interval <TARGET># default is 5. The number of ports scanned before the TOR IP address is changed-tTIMEOUT,--timeoutTIMEOUT seconds to wait before connection timeout for each portjJOBS,--jobsJOBS maximum number of open connections at the same time