Web dashboard that finds devices with a scapy ARP sweep, then runs nmap service/version detection and OS fingerprinting on each one.
Only scan networks you own or have written permission to test.
The ready-to-use package is in build/:
| File | Purpose |
|---|---|
NetworkScanner.exe |
The app (Python, Flask, scapy and python-nmap embedded; prompts for Administrator) |
nmap/ |
Not included in the repo - install Nmap yourself (the app uses the system install), or run build.ps1 to bundle your own copy |
USER_GUIDE.html |
Offline user guide (also at /guide inside the app) |
Install Nmap (it also installs Npcap), copy the build folder anywhere, double-click
NetworkScanner.exe and accept the UAC prompt. The console prints a clickable link and the
dashboard opens in your browser.
powershell -ExecutionPolicy Bypass -File .\build.ps1
# optional: -NmapDir "D:\Tools\Nmap" (source of the bundled nmap folder)build.ps1 creates a private .buildenv virtualenv, installs the requirements plus PyInstaller,
builds a one-file exe with an Administrator manifest, copies the runtime files of your Nmap install
into build\nmap, and copies the guide. .buildenv can be deleted afterwards.
Licensing note: this repo does not redistribute Nmap or Npcap. Nmap is released under the Nmap Public Source License; install it from nmap.org. A package you build with build.ps1 that bundles Nmap is for your own use - redistributing it to others needs an Nmap OEM licence.
Prerequisites: Python 3.9+, Nmap (Windows: also installs Npcap), or
sudo apt install python3-venv nmap / brew install nmap.
python -m venv .venv
.venv\Scripts\activate # Linux/macOS: source .venv/bin/activate
pip install -r requirements.txtRun from an elevated shell (raw ARP packets and nmap OS detection need it):
.\.venv\Scripts\python.exe app.py # Windows: PowerShell as Administratorsudo .venv/bin/python app.py # Linux/macOSOptions: --port 8080, --no-browser, --host (default 127.0.0.1; the API has no
authentication - don't expose it on an untrusted network).
- Phases: Discovery (ARP,
/24chunks) -> Deep Inspection (up to 4 parallel nmap jobs). - ARP only reaches your local subnet. Otherwise it falls back to an nmap ping sweep (MAC may be blank). Your own machine does not answer its own ARP request, so it isn't listed.
- Not elevated? OS fingerprinting is skipped; "Likely OS" is inferred from service banners.
- Manufacturer comes from nmap's
nmap-mac-prefixes; randomised MACs show as "Private". - Safety limits: private (RFC1918) ranges only, nothing larger than a
/16(SCANNER_ALLOW_PUBLIC=1lifts the private-only rule). - The dashboard page loads Bootstrap from a CDN, so the browser needs internet access.
MIT for this project's own code (see LICENSE). Nmap and Npcap have their own licences.