masscan
Auth/lab ref: ultra-fast async TCP SYN port scanner capable of scanning the entire IPv4 internet in minutes.
v2026.11.13-21cd5682 installs+2 in 7 days39 StarsMITsynced 11 hours ago
Install
No NotHoly CLI yet? Install it first.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install aeondave/masscanWrites to ~/.notholy/skills after checking the signature and the SHA-256.
SignatureSigned, ed25519
Packaged6b6ca39…47b69aa8
d6b6ca393150…260c47b69aa82 files · 2.2 KBScanLowno findings
Sourcegithub.com/AeonDave/malskill/tree/main/offensive-tools/network/masscan@21cd568
On this page
Ultra-fast TCP SYN scanner for large-scale port discovery.
Quick Start
masscan 10.0.0.0/16 -p445 --rate=10000 -oG out.gnmap
masscan 10.0.0.0/8 -p0-1023 --rate=50000 -oX out.xml
masscan -iL targets.txt -p80,443,8080,445 --rate=10000Core Flags
| Flag | Purpose |
|---|---|
-p <ports> |
Port list / range (e.g. 0-65535, 80,443) |
--rate <n> |
Packets per second (start low) |
-oG / -oX / -oJ |
Output: grepable / XML / JSON |
-iL <file> |
Read targets from file |
--banners |
Grab service banners |
--excludefile |
Exclude IPs from scan |
--adapter-ip |
Source IP |
--router-mac |
Default gateway MAC |
Common Workflows
Feed results into nmap
# Discover open ports fast
masscan 10.0.0.0/24 -p1-65535 --rate=5000 -oG masscan.out
# Extract unique ports
grep "open" masscan.out | awk '{print $4}' | cut -d/ -f1 | sort -u | paste -sd, > ports.txt
# Extract unique hosts
grep "open" masscan.out | awk '{print $6}' | sort -u > hosts.txt
# Deep scan on discovered ports/hosts
nmap -sV -sC -O -p$(cat ports.txt) -iL hosts.txt -oA nmap_deepBanner grabbing
masscan 10.0.0.0/24 -p22,80,443,445,8080 --banners --rate=1000 -oJ results.jsonConfig file (repeat scans)
# masscan.conf
rate = 10000
ports = 0-65535
output-format = json
output-filename = results.json
excludefile = /etc/masscan/exclude.confmasscan 10.0.0.0/8 -c masscan.confResume interrupted scan
masscan 10.0.0.0/8 -p- --rate=50000 --resume paused.confRate Tuning
| Environment | Safe Rate |
|---|---|
| Internal lab | 10,000–100,000 |
| Corporate network | 1,000–5,000 |
| Internet | 10,000–1,000,000 |
| Stealth | 100–500 |
- Start at
--rate=1000and increase; watch for packet loss - Set
--adapter-ipif multiple interfaces exist - Use
--router-macif default gateway detection fails
Resources
| File | When to load |
|---|---|
references/tuning.md |
Config file options, adapter settings, exclude lists |
Files in this version
Permissions
| Permission | Declared | Found by the scan |
|---|---|---|
| Reads files | Yes | Yes |
| Writes files | Yes | Yes |
| Runs shell commands | Yes | Yes |
| Uses the network | No | No |
| Uses connectors | No | No |
| Drives a browser | No | No |
Scan findings
Reviewed on Nov 13, 2026
The scan found nothing to flag in this version.
A clean scan lowers the risk but does not prove a package is safe. Read what you install.
| Version | Published | Commit | SHA-256 | Signature | Permission change |
|---|---|---|---|---|---|
| v2026.11.13-21cd568 | Nov 13, 2026 | 21cd568 | d6b6ca39 | Signed | – |
More from AeonDave
All from this publisherMore in Network, wireless and telecom
See the category- performing-network-packet-capture-analysismukul975/performing-network-packet-capture-analysis4
- network-segmentation-reviewsecurityskills/network-segmentation-review3
- performing-ssl-stripping-attackmukul975/performing-ssl-stripping-attack3
- implementing-next-generation-firewall-with-palo-altomukul975/implementing-next-generation-firewall-with-palo-alto3
- configuring-zscaler-private-access-for-ztnamukul975/configuring-zscaler-private-access-for-ztna3
- implementing-canary-tokens-for-network-intrusionmukul975/implementing-canary-tokens-for-network-intrusion3
Ask anything your scope allows.
Create an account, add credits and ask the first question in the chat or the terminal.
- 1/3
Create the account
Individual or company. You can switch to a company later without losing balance or keys.
IndividualCompany - 2/3
Add credits
By card. Pay per token, no subscription.
$5.00minimum deposit - 3/3
Ask
In the chat, or install the CLI and run notholy login in your terminal.
$ notholy login