🚀 nmaping
nmaping is a simple, colorful, menu-based tool that helps you run Nmap scans without remembering any commands. Pick a scan from the menu, enter a target, and get your results. Everything is saved automatically.
Made by Mr Tan.
📖 What Does It Do?
Nmap is a powerful network scanner, but its commands are long and hard to remember. nmaping does the hard part for you:
- Shows all scan types in a clean numbered menu
- Asks for your target (IP address, website, or a whole network range)
- Lets you choose how fast or how quiet the scan should be
- Runs the scan and shows the result on screen
- Saves the result to a file and keeps a history of everything you scanned
✅ Before You Start
You need two things on your computer:
- Python 3.8 or newer
- Nmap
Install Nmap:
| System | Command |
|---|---|
| Kali / Ubuntu / Debian | sudo apt update && sudo apt install -y nmap |
| Fedora | sudo dnf install nmap |
| Arch | sudo pacman -S nmap |
| Windows | Download from https://nmap.org/download.html and tick "Add to PATH" during setup |
📦 How to Install
Linux (recommended: pipx)
sudo apt install -y pipx
pipx ensurepath
Close and reopen your terminal, then:
pipx install nmaping
Linux / Mac (using pip)
New Linux versions don't allow plain pip install, so create a small environment first:
python3 -m venv ~/.nmaping-venv
source ~/.nmaping-venv/bin/activate
pip install nmaping
Every time you want to use it later, run
source ~/.nmaping-venv/bin/activatefirst.
Windows
Open PowerShell and run:
python -m pip install --user pipx
python -m pipx ensurepath
Close and reopen PowerShell, then:
pipx install nmaping
▶️ How to Run
Just type:
nmaping
🧭 How to Use (Step by Step)
- Run
nmaping. The main menu appears with the logo and a live clock. - Type the number of the scan you want and press Enter.
- Enter your target, for example:
192.168.1.1(one device)example.com(a website)192.168.1.0/24(a whole network)
- Confirm that you have permission to scan the target (type
y). - Choose a speed from 0 to 5 (just press Enter for the default).
- Wait for the scan to finish. The result is shown and saved automatically.
- Press Enter to return to the menu.
In the main menu:
- Type H to see your scan history
- Type 0 to exit
🔍 Scan Types Explained
| No. | Scan | What it does |
|---|---|---|
| 1 | SYN Scan | Fast, quiet scan for open ports |
| 2 | Version Detection | Finds which software and version runs on each open port |
| 3 | Vulnerability Scan | Checks for known security weaknesses |
| 4 | OS Detection | Guesses the operating system of the target |
| 5 | Host Discovery | Checks which devices are online, no port scan |
| 6 | Specific Port | Scans only the port(s) you choose (e.g. 80,443) |
| 7 | Top 1000 Ports | Scans the 1000 most common ports |
| 8 | UDP Scan | Scans UDP ports (slower) |
| 9 | Aggressive Scan | OS, version, scripts and traceroute in one go |
| 10 | Firewall / ACK Scan | Helps find out if a firewall is filtering ports |
| 11 | Default Script Scan | Runs Nmap's standard safe scripts |
| 12 | Traceroute | Shows the path your traffic takes to the target |
| 13 | All Ports | Scans all 65,535 ports (slow) |
| 14 | Ping Scan | Checks if the target responds to ping |
| 15 | No Ping Scan | Scans even if the target ignores ping |
| 16 | TCP Connect | Normal connection scan, works without root |
| 17 | Xmas Scan | Special stealth scan |
| 18 | FIN Scan | Special stealth scan |
| 19 | Null Scan | Special stealth scan |
| 20 | Custom | Type your own Nmap options |
| 21 | Full Deep Scan | Everything combined (very slow) |
⏱️ Speed Levels
| Level | Name | Best for |
|---|---|---|
| 0 | Paranoid | Maximum stealth, extremely slow |
| 1 | Sneaky | Very slow, hard to detect |
| 2 | Polite | Gentle on the network |
| 3 | Normal | Default, good for most cases |
| 4 | Aggressive | Fast, recommended on good networks |
| 5 | Insane | Fastest, use only in your own lab |
⌨️ Quick Commands (Without the Menu)
If you already know what you want, skip the menu:
nmaping -t 192.168.1.1 -s 2 -T 4
Meaning: scan 192.168.1.1, scan type 2 (Version Detection), speed 4.
| Option | Meaning |
|---|---|
-t |
Target |
-s |
Scan number (1 to 21) |
-T |
Speed (0 to 5) |
-p |
Port(s), used with scan 6 |
--no-save |
Don't save the result file |
--list |
Show all scan types |
-y |
Skip the permission question |
More examples:
nmaping -t example.com -s 6 -p 80,443
nmaping -t 192.168.1.0/24 -s 5
nmaping --list
🔑 Scans That Need Root (Linux)
Scans 1, 4, 8, 17, 18, 19 (and some others) need administrator rights. Run:
sudo "$(which nmaping)"
When run with sudo, files are saved in /root/.nmaping/ instead of your own folder.
🔄 How to Update to a New Version
When a new version is released, update with one command.
If you installed with pipx:
pipx upgrade nmaping
If it says nothing changed, force the update:
pipx install --force nmaping
If you installed with pip:
pip install --upgrade --force-reinstall nmaping
(Activate your environment first if you used one: source ~/.nmaping-venv/bin/activate)
The logo shows your current version (v=1.0). Check the GitHub page to see if a newer one is available.
🗑️ How to Uninstall
pipx uninstall nmaping
or, if you used pip:
pip uninstall nmaping
Your saved results stay in ~/.nmaping/. Delete that folder if you want to remove them too.
📁 Where Are My Results?
| What | Location |
|---|---|
| Scan results | ~/.nmaping/results/ |
| Scan history | ~/.nmaping/history.log |
Each result file is named with the target, scan type, and date/time.
🛠️ Problems and Fixes
| Problem | Fix |
|---|---|
nmaping: command not found |
Run pipx ensurepath, then close and reopen the terminal |
externally-managed-environment |
Use pipx, or the pip method with a virtual environment |
nmap not found |
Install Nmap (see "Before You Start") |
requires root privileges |
Run with sudo "$(which nmaping)" |
| Strange boxes instead of the logo on Windows | Use Windows Terminal, or run chcp 65001 first |
| Clock not beside the logo | Make your terminal window taller or maximize it |
⚠️ Legal Notice
Use this tool only on systems you own or have written permission to test. Scanning other people's networks without permission can be illegal and may lead to serious consequences. nmaping asks you to confirm permission before every scan, but you are fully responsible for how you use it.
📜 License
For educational and ethical use only. See LICENSE for details.
Metadata
Release files for nmaping 2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| nmaping-2.2.tar.gz | 10.0 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nmaping-2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.9 kB
Release files / nmaping-2.2.tar.gz
| Download URL | nmaping-2.2.tar.gz |
|---|---|
| Size | 10.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a524fa0aa1b4669120930b63458aebe75961f049372e7d7e2496573cdcbc9063
|
|
BLAKE2b-256 checksum How to use checksums |
5c92a5f4773fb93feabc87e35a3ab863b5993eb9cf492d9d9ffb467c60591d46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.
Transparency logRelease files / nmaping-2.2-py3-none-any.whl
| Download URL | nmaping-2.2-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c1bee68b5d2dd80e55c1639a12728707930756bb54abc790be1f6d532ddb90cc
|
|
BLAKE2b-256 checksum How to use checksums |
a7d962ef0e2d706a57f8ecfe8fd8318ab53b8fb54be2fa736ec010ece77d8970
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.
Transparency logSecurity for nmaping 2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for nmaping-2.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.