LinuxCommandLibrary

rustscan

Fast port scanner written in Rust

TLDR

Scan target

$ rustscan -a [target]
copy
Scan with port range
$ rustscan -a [target] -r [1-1000]
copy
Scan multiple targets
$ rustscan -a [target1],[target2]
copy
Pipe to nmap
$ rustscan -a [target] -- -sV -sC
copy
Set batch size
$ rustscan -a [target] -b [1000]
copy
Scan specific ports
$ rustscan -a [target] -p [22,80,443]
copy
Increase timeout
$ rustscan -a [target] --timeout [3000]
copy

SYNOPSIS

rustscan [-a targets] [-p ports] [-r range] [options] [-- nmap args]

DESCRIPTION

rustscan is a fast port scanner written in Rust. It finds open ports quickly, then optionally passes to nmap.
Asynchronous scanning achieves high speed. All 65535 ports scanned in seconds.
Nmap integration provides deep analysis. RustScan finds ports, nmap analyzes services.
Batch size controls aggressiveness. Higher values faster but may miss ports.
Adaptive learning adjusts to network conditions. Avoids overwhelming targets.

PARAMETERS

-a, --addresses TARGETS

Target addresses.
-p, --ports PORTS
Specific ports.
-r, --range RANGE
Port range.
-b, --batch-size N
Concurrent connections.
--timeout MS
Connection timeout.
-u, --ulimit N
File descriptor limit.
-- ARGS
Pass to nmap.
-g, --greppable
Greppable output.

CAVEATS

High scan rates may trigger IDS. Adjust batch size for reliability. For authorized scanning only.

HISTORY

RustScan was created by bee-san for faster port scanning. It combines Rust's performance with nmap's capabilities.

SEE ALSO

nmap(1), masscan(1), zmap(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community