OSINT tool
Install zmap on macOS and Linux
Single-packet network scanner for surveying a port across large IP ranges.
ot install zmapZMap scans one port across a large address range by sending a single packet to each address, fast enough to survey the whole IPv4 internet. It answers which hosts have the port open; follow up on those with nmap. It needs root or the raw-socket capability.
How to install zmap
ot install zmapot uses zmap from your system's package manager. If it is not installed yet, ot shows the winget, brew or apt command and asks before running it.
Before first use: Needs root, or the raw-socket capability, to send packets.
New to ot? It is one command to install, shown below.
How to use zmap
Arguments after the tool's name go straight to zmap, so its own documentation applies unchanged.
List the hosts in a range with port 443 open.
sudo ot run zmap -p 443 -o results.txt 192.0.2.0/24Limit the scan to 10 Mbit/s of bandwidth.
sudo ot run zmap -p 80 -B 10M 198.51.100.0/24ot run zmap --help lists every option. The project's own documentation is at github.com/zmap/zmap.
An AI agent can run zmap too: ot mcp serves it over the Model Context Protocol, once the server is started with --allow-active. See OSINT with AI agents.
zmap licence, platforms and versions
| Project | https://github.com/zmap/zmap |
| Licence | Apache-2.0 |
| Runs on | macOS and Linux |
| Takes | ip |
| Sends traffic to the target | Yes |
| System package | through apt, brew, dnf and pacman |
Questions about zmap
Does zmap run on Windows?
Not natively. zmap has no Windows build, so ot installs it on macOS and Linux only. On Windows, install ot inside WSL and use zmap from there.
Is zmap free?
Yes. zmap is open source, released under the Apache-2.0 licence. ot, which installs it, is free under the Apache 2.0 licence.
How do I update or remove zmap?
zmap is a system package, so update and uninstall it with your package manager. ot remove zmap only makes ot forget it and never uninstalls a system package.
Do I need permission to use zmap?
Yes, for any system that is not your own. zmap sends traffic to its target, so use it only on systems you own or have written permission to test. ot shows this reminder before the first run, and its MCP server refuses zmap unless started with --allow-active.
Install ot
curl -fsSL https://otinstaller.com/install.sh | shirm https://otinstaller.com/install.ps1 | iexRun it in PowerShell.
Current version: 0.5.0 (changelog). Both scripts verify the download against its SHA-256 checksum before installing.