Skip to content

israrnajmi2/port-scan-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“ Project Structure

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

Port Scan Detector πŸ”

A beginner-friendly Python tool to detect suspicious network scanning activity using nmap.

πŸ“Œ Features

  • Runs automated scans using nmap
  • Logs scan results with timestamps
  • Flags suspicious activity based on host count
  • Configurable via config.json

πŸ›  Requirements

  • Python 3
  • nmap installed and accessible via command line

πŸš€ Getting Started

git clone https://github.com/yourusername/port-scan-detector.git
cd port-scan-detector
python3 scan_detector.py

About

This project is meant to help cybersecurity learners understand how network scans work and how to track patterns with basic tools.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages