A simple Python-based network vulnerability scanner that checks a target host for open TCP ports in the range 1–1025.
This project was developed as part of my Cybersecurity Bootcamp to practice Python scripting, socket programming, and network vulnerability assessment.
📂 network-vulnerability-scanner
├── scanner.py # Main Python script
└── README.md
- Run with a target host (preferred):
python scanner.py 192.168.1.10- Or run interactively (you will be prompted for a host):
python scanner.py- Optional flags:
python scanner.py 192.168.1.10 --start 20 --end 443 --timeout 0.2 --outfile MyScan.txtThe script scans TCP ports in the specified range (default 1–1024), prints open ports, and writes results to the file ScanResults (or your chosen --outfile).
Python (socket library)
Networking Fundamentals
Detected open ports on a host within seconds
Helped identify potential entry points for unauthorized access
Built foundation for more advanced vulnerability scanning tools