Basic port scanner written in Python.
Basic usage:
# Perform a TCP scan against `localhost` ports 20 to 25, 80 and 443
python main.py -p 20-25,80,443 localhost
You can always see what arguments are available to you using:
python main.py -h
- CLI interface
- Flexible port parser
- TCP connect scan
- TCP half-handshake scan (stealth scan)
- TCP NULL, FIN scans
- UDP scan
- Output results in a parsable format
- Refactor, split scanning/logging
I intend with this project to create a:
- Functional port scanner.
- Well-commented, friendly codebase to help InfoSec students learn how their tools work.
This project uses Python3 and requires the following external dependencies:
plac
(Easy to use arguments parser)