Skip to content
otinstaller
Install

OSINT tool

Install masscan on macOS and Linux

Internet-scale TCP port scanner.

networkportsactive
ot install masscan

masscan is a port scanner built for very large address ranges. It sends packets from its own network stack, fast enough to cover the whole internet. It reports open ports only, so follow it with nmap for detail.

How to install masscan

ot install masscan

ot uses masscan 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.

New to ot? It is one command to install, shown below.

How to use masscan

Arguments after the tool's name go straight to masscan, so its own documentation applies unchanged.

Scan two ports across a range at 1,000 packets a second.

ot run masscan 192.0.2.0/24 -p80,443 --rate 1000

Scan the first 1,024 ports and save JSON.

ot run masscan 192.0.2.0/24 -p1-1024 -oJ result.json

ot run masscan --help lists every option. The project's own documentation is at github.com/robertdavidgraham/masscan.

An AI agent can run masscan too: ot mcp serves it over the Model Context Protocol, once the server is started with --allow-active. See OSINT with AI agents.

masscan licence, platforms and versions

Projecthttps://github.com/robertdavidgraham/masscan
LicenceAGPL-3.0
Runs onmacOS and Linux
Takesip
Sends traffic to the targetYes
System packagethrough apk, apt, brew, dnf and pacman

Questions about masscan

Does masscan run on Windows?

Is masscan free?

How do I update or remove masscan?

Do I need permission to use masscan?

Install ot

curl -fsSL https://otinstaller.com/install.sh | sh

Current version: 0.3.0. Both scripts verify the download against its SHA-256 checksum before installing.

More: Network and host OSINT tools