A multithreaded TCP port scanner built in Python as part of the Syntecxhub internship program. Supports single port and port range scanning with logging and exception handling.
This project is a multithreaded TCP port scanner developed in Python as part of the Syntecxhub internship program.
It allows scanning a single host for open, closed, or timeout TCP ports within a specified range.
- Learn socket programming in Python
- Understand TCP connections
- Implement multithreading for faster scanning
- Handle network exceptions properly
- Log scan results to a file
- Scan a single port or a range of ports
- Multithreaded scanning
- Detect open, closed, and timeout ports
- Log results to a file
- Command-line interface
- Python 3
- socket
- threading
- argparse
- logging
git clone https://github.com/Christerlin/Syntecxhub_Project_TCP_Port_Scanner.git
cd Syntecxhub_Project_TCP_Port_Scanner
python3 scanner.py --host 127.0.0.1 --ports 1-100
Disclaimer
This tool is developed for educational purposes only. Do not scan systems without proper authorization.
Author
Christerlin Joseph Syntecxhub Internship Program