A simple multithreaded port scanner that quickly scans a target host and shows which ports are open.
python portscan.py -t 10.10.10.5 -p 1-1000
- `-t`, --target — target IP address
- -p, --ports — port range to scan (e.g. `1-1000`)
python portscan.py -t 10.10.10.5 -p 50-100
Output:
Port 53 is open
End of scanning
Built with Python's and ThreadPoolExecutor for concurrent scanning. For use in labs and authorized testing only.