A basic Python port scanner. It's a simple learning project to understand how port scanning works.
Scans a target host to find which TCP ports are open.
Just Python 3.6+ (no external libraries needed)
Basic command:
python port_scanner.py localhostScan a specific range:
python port_scanner.py localhost -s 1 -e 1000Available options:
-s- start port (default: 1)-e- end port (default: 1024)-t- timeout in seconds (default: 1.0)-v- verbose mode (shows closed ports too)
This is a learning exercise. Only scan systems you own or have permission to test.