port-scan-detector/
βββ scan_detector.py β
Main Python script
βββ suspicious_hosts.txt β
Output: list of flagged IPs
βββ logs/scan_log.txt β
Output: full scan log
βββ config.json β
Settings (thresholds, network range)
βββ README.md β
Project documentation
βββ requirements.txt β
Required packages
A beginner-friendly Python tool to detect suspicious network scanning activity using nmap.
- Runs automated scans using
nmap - Logs scan results with timestamps
- Flags suspicious activity based on host count
- Configurable via
config.json
- Python 3
nmapinstalled and accessible via command line
git clone https://github.com/yourusername/port-scan-detector.git
cd port-scan-detector
python3 scan_detector.py