RustScan

RustScan is a modern take on the port scanner.

.----. .-. .-. .----..---.  .----. .---.   .--.  .-. .-.
| {}  }| { } |{ {__ {_   _}{ {__  /  ___} / {} \ |  `| |
| .-. \| {_} |.-._} } | |  .-._} }\     }/  /\  \| |\  |
`-' `-'`-----'`----'  `-'  `----'  `---' `-'  `-'`-' `-'

Usage

Usage: rustscan [OPTIONS] [-- <COMMAND>...]

OptionDescription
-a, --addresses <ADDRESSES>A comma-delimited list or newline-delimited file of separated CIDRs, IPs, or hosts to be scanned
-p, --ports <PORTS>A list of comma separated ports to be scanned. Example: 80,443,8080
-r, --range <RANGE>A range of ports with format start-end. Example: 1-1000
-n, --no-configWhether to ignore the configuration file or not
--no-bannerHide the banner
-c, --config-path <CONFIG_PATH>Custom path to config file
-g, --greppableGreppable mode. Only output the ports. No Nmap. Useful for grep or outputting to a file
--accessibleAccessible mode. Turns off features which negatively affect screen readers
--resolver <RESOLVER>A comma-delimited list or file of DNS resolvers
-b, --batch-size <BATCH_SIZE>The batch size for port scanning, it increases or slows the speed of scanning. Depends on the open file limit of your OS. If you do 65535 it will do every port at the same time. Although, your OS may not support this [default: 4500]
-t, --timeout <TIMEOUT>The timeout in milliseconds before a port is assumed to be closed [default: 1500]
--tries <TRIES>The number of tries before a port is assumed to be closed. If set to 0, rustscan will correct it to 1 [default: 1]
-u, --ulimit <ULIMIT>Automatically ups the ULIMIT with the value you provided
--scan-order <SCAN_ORDER>The order of scanning to be performed. The “serial” option will scan ports in ascending order while the “random” option will scan ports randomly [default: serial] [possible values: serial, random]
--scripts <SCRIPTS>Level of scripting required for the run [default: default] [possible values: none, default, custom]
--topUse the top 1000 ports
-e, --exclude-ports <EXCLUDE_PORTS>A list of comma separated ports to be excluded from scanning. Example: 80,443,8080
-x, --exclude-addresses <EXCLUDE_ADDRESSES>A list of comma separated CIDRs, IPs, or hosts to be excluded from scanning
--udpUDP scanning mode, finds UDP ports that send back responses