Skip to content
Ghaith edited this page Mar 5, 2026 · 3 revisions

Welcome to the NmapPilot wiki!

NmapPilot v4.0 πŸš€

Author: Ghaith Riabi (@ghaithrb) Version: v4.0.0 Language: Go Type: Advanced Nmap Wrapper / Professional CLI Scanner


πŸ“Œ Description

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.


⚑ Features

  • 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

πŸ›  Scan Options

Option | Name | Description | Example

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


πŸ›  Technologies & Tools Used

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

πŸš€ Installation

  1. Clone the repo:

git clone https://github.com/ghaithrb/NmapPilot.git cd NmapPilot

  1. Build the binary (Linux/macOS):

go build -o nmapilot main.go chmod +x nmapilot ./nmapilot

  1. Windows EXE:

GOOS=windows GOARCH=amd64 go build -o nmapilot.exe main.go


πŸ“₯ Download (GitHub Releases)

  • Linux/macOS: nmapilot
  • Windows: nmapilot.exe

After download, just run it. No Go installation needed.


⚑ Requirements

  • Linux/macOS (or Windows WSL)
  • Go >= 1.20 (if building from source)
  • Nmap installed
  • Terminal supporting ANSI colors

πŸ“¦ Output

Scan results are printed in terminal and can be saved as .txt automatically.

Example saved file: scan-20260302-154512.txt


πŸ“œ License

MIT License – Free to use, modify, and distribute.

See LICENSE file in the repository.


πŸ›° Author

Ghaith Riabi – @ghaithrb