Masscan – Fast Port Scanner

Masscan is the fastest Internet port scanner, capable of scanning the entire IPv4 address space...

Networking Tools Linux Open Source

Masscan is the fastest Internet port scanner, capable of scanning the entire IPv4 address space in under 6 minutes. Using asynchronous transmission, it can transmit 10 million packets per second, making it ideal for large-scale network reconnaissance and security assessments.

Key Features

  • Extreme Speed – Scan millions of IPs per minute
  • Nmap Compatible – Similar command-line syntax
  • Banner Grabbing – Identify services on open ports
  • Output Formats – XML, JSON, binary, list

Installation

sudo apt install masscan    # Debian/Ubuntu
# Or build from source
git clone https://github.com/robertdavidgraham/masscan
cd masscan && make

Basic Usage

# Scan single port
sudo masscan 192.168.1.0/24 -p80

# Scan multiple ports
sudo masscan 192.168.1.0/24 -p80,443,8080

# Scan port range
sudo masscan 192.168.1.0/24 -p1-1000

# Set rate
sudo masscan 0.0.0.0/0 -p80 --rate 10000

# Output to file
sudo masscan 192.168.1.0/24 -p80 -oJ results.json

Download Masscan

Was this article helpful?