otinstaller · Networks and hosts
Install masscan on macOS or Linux in one command
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.
masscan in three lines
curl -fsSL https://otinstaller.com/install.sh | sh
ot install masscan
ot run masscan 192.0.2.0/24 -p80,443 --rate 1000Runs robertdavidgraham/masscan (AGPL-3.0, ★ 26k, otinstaller 0.3.0). otinstaller installs it as a system package; it does not change or audit the tool itself.
What masscan is for
- Finding open ports across a very large range you are authorised to scan.
- A first sweep whose results go to Nmap for detail.
- JSON output for a pipeline (-oJ).
Run masscan with ot
ot run masscan passes everything after the tool's name to masscan unchanged, with input and output passed through, so the project's own documentation applies and tools pipe into each other.
- 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
masscan sends traffic to its target, so run it only against systems you are allowed to test.
Where the results go
ot run saves nothing itself: masscan's output goes to your terminal, a pipe, or wherever its own output option writes it. Results can hold personal data, so store and share them accordingly.
Before you run it
- It can send packets faster than a network tolerates. Set --rate, and scan only ranges you have written permission for.
- Needs root or administrator rights for raw packets, and installs on macOS and Linux only.
Update, remove, inspect
ot info masscan # details, and how it installs on this system
ot update masscan # move to the version the registry pins
ot update masscan --latest # take the newest upstream release instead
ot remove masscan # remove itFull reference: the otinstaller docs, masscan on otinstaller.com, and the tool's own project page.
Pairs with
When open-source isn't enough
masscan scans from your own address. SearchIn's host provider returns ports and banners already collected, without sending the target anything.
FAQ
masscan with otinstaller, answered
How do I install masscan on macOS or Linux?
Install ot once with the one-line script on the otinstaller page, then run ot install masscan. Ot uses the copy already on your PATH, or shows you the winget, brew, or apt command and asks before it runs it. ot itself needs no administrator rights, and ot doctor checks that every installed tool starts.
How do I run masscan through ot?
With ot run masscan followed by masscan's own arguments, for example: ot run masscan 192.0.2.0/24 -p80,443 --rate 1000. ot passes everything after the tool's name straight through and exits with the tool's exit code, so the project's own documentation applies unchanged. Add ~/.ot/bin to your PATH to call the tool by its own name.
Is masscan part of ot scan?
No. ot scan takes a username, an email address, a domain, or a phone number and runs the tools the registry assigns to that kind of target. Run masscan on its own with ot run masscan.
Does masscan need an API key or a login?
ot stores no key for it. The basic run needs neither a key nor a login.
Does masscan send traffic to the target?
Yes. The registry lists masscan as active: it contacts the target directly, so run it only against systems you are allowed to test. ot prints that reminder once, and ot mcp refuses active tools unless it was started with --allow-active.