Skip to content

KamalAres/nmap_automator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Nmap Automator

A Python script that automates comprehensive network scanning using Nmap. This tool runs multiple scan types sequentially to provide thorough reconnaissance of target systems.

Features

  • Initial Scan: Quick service and version detection
  • Full Port Scan: Comprehensive scan of all 65535 ports
  • Vulnerability Scan: Security vulnerability assessment
  • UDP Scan: UDP port discovery and service detection
  • Automatic output organization in dedicated directory
  • Verbose output for detailed scan progress

Prerequisites

  • Python 3.x
  • Nmap installed and accessible from command line
  • Appropriate network permissions for scanning

Installing Nmap

Linux/Ubuntu:

sudo apt-get install nmap

Windows: Download from nmap.org

macOS:

brew install nmap

Usage

python3 nmap_automator.py <target_ip>

Example

python3 nmap_automator.py 192.168.1.100

Output

All scan results are saved in the ./nmap/ directory:

  • initial - Initial scan results
  • fullport - Full port scan results
  • vuln - Vulnerability scan results
  • udp - UDP scan results

Scan Details

Scan Type Command Purpose
Initial nmap -sSCV -n -vv <ip> Quick service/version detection
Full Port nmap -sSCV -p- -n -vv <ip> All TCP ports with service detection
Vulnerability nmap -sSV --script=vuln -p- -n -vv <ip> Security vulnerability assessment
UDP nmap -sSV -sU -p- -n -vv <ip> UDP port discovery

Important Notes

  • Legal Use Only: Only scan systems you own or have explicit permission to test
  • Time Requirements: Full scans can take several hours depending on target
  • Network Impact: Scans generate significant network traffic
  • Root Privileges: Some scan types may require elevated privileges

License

This tool is for educational and authorized security testing purposes only.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages