Repository navigation
Home
Author: Ghaith Riabi (@ghaithrb) Version: v4.0.0 Language: Go Type: Advanced Nmap Wrapper / Professional CLI Scanner
NmapPilot is a professional, interactive, and automated Nmap wrapper designed for:
- Cybersecurity enthusiasts
- Penetration testers
- Network administrators
It simplifies Nmap usage while providing professional features, including auto menu, detailed scan descriptions, examples, and result saving.
- 15 professional scan types (Ping, Quick, Aggressive, Vulnerability, OS Detection, Custom Portsβ¦)
- Description & example for each scan type
- Interactive CLI with clean colors & professional output
- Automatic save of scan results
- Fast & scalable for large networks
- Educational & professional usage
1 | Ping Scan | Discover live hosts | 192.168.1.0/24 2 | Quick Scan | Fast scan top 100 ports | 192.168.1.10 3 | Aggressive Scan | OS + Version + Scripts | 10.0.0.5 4 | Vulnerability Scan | Run vuln scripts | 192.168.1.1 5 | OS Detection | Detect OS | 10.10.10.10 6 | Service Version | Detect services | 192.168.1.5 7 | Full Port Scan | All 65535 ports | 192.168.1.10 8 | Stealth Scan | TCP SYN stealth scan | 10.0.0.5 9 | UDP Scan | Scan UDP ports | 192.168.1.5 10 | Firewall Evasion | Fragment packets | 192.168.1.10 11 | XMAS Scan | Advanced stealth scan | 10.0.0.1 12 | NULL Scan | No flags scan | 192.168.1.1 13 | FIN Scan | Stealth FIN scan | 192.168.1.10 14 | Traceroute | Trace network path | 8.8.8.8 15 | Custom Ports | Specific ports | 22,80,443
Programming Language:
- Go (Golang) β main language for CLI automation and Nmap wrapper
Tools & Libraries:
- Nmap β core network scanning engine
- Bash β command execution within Go (exec.Command)
- ANSI Escape Codes β colorized terminal output
- bufio & fmt β input/output handling
- os & os/exec β file operations and command execution
- strings & time β string manipulation and timestamping
Platforms Tested:
- Linux (Kali Linux 2025)
- Windows (via EXE binary)
- macOS (Darwin)
Version Control:
- Git β source code management
- GitHub β repository hosting & releases
Professional Features Implemented:
- Interactive CLI menu (1-15 scan options)
- Description + example for each scan type
- Custom ports input & OS detection scan
- Automatic scan result saving with timestamped filename
- Cross-platform build support (Linux/macOS/Windows)
- Clean, colored, professional terminal output
- Clone the repo:
git clone https://github.com/ghaithrb/NmapPilot.git cd NmapPilot
- Build the binary (Linux/macOS):
go build -o nmapilot main.go chmod +x nmapilot ./nmapilot
- Windows EXE:
GOOS=windows GOARCH=amd64 go build -o nmapilot.exe main.go
- Linux/macOS: nmapilot
- Windows: nmapilot.exe
After download, just run it. No Go installation needed.
- Linux/macOS (or Windows WSL)
- Go >= 1.20 (if building from source)
- Nmap installed
- Terminal supporting ANSI colors
Scan results are printed in terminal and can be saved as .txt automatically.
Example saved file: scan-20260302-154512.txt
MIT License β Free to use, modify, and distribute.
See LICENSE file in the repository.
Ghaith Riabi β @ghaithrb