sigoden/opscan
A open port scanner.
cargo install --force opscan
docker run --rm -it sigoden/opscan opscan.nmap.org
Download from Github Releases, unzip and add opscan to your $PATH.
A open port scanner
Usage: opscan [OPTIONS] [ADDRESSES]...
Arguments:
[ADDRESSES]... CIDRs, IPs, or hosts to scan ports
Options:
-p, --ports <PORTS> Ports to be scanned e.g. 22,80-443,top100
-t, --timeout <TIMEOUT> Maximum time in milliseconds to scan
-c, --concurrency <CONCURRENCY> Number of concurrent port scanning
-h, --help Print help
-V, --version Print version
Scan a single port of a single host:
opscan 192.168.8.5 -p 22
Scan all ports of a localhost if no parameters
opscan # equal to `opscan 127.0.0.1 -p 1-65535`
Different network types have different default scanning ports:
opscan 127.0.0.1 # for private network, scan 1-65535
opscan scanme.nmap.org # for none private network, scan top1000
Scan specific ports:
opscan 192.168.8.5 -p 80,443,21-23
opscan 192.168.8.5 -p 1-65535
Scan a whole/range CIDR:
opscan 192.168.0.0/24
opscan 192.168.0.0/192.168.255.255
Scan top-N ports:
opscan scanme.nmap.org -p top1000
opscan scanme.nmap.org -p top250
opscan scanme.nmap.org -p top100
Increase concurrency and decrease timeout for faster scans:
opscan scanme.nmap.org -t 1500 -c 8000
Copyright (c) 2022 opscan-developers.
argc is made available under the terms of either the MIT License or the Apache License 2.0, at your option.
See the LICENSE-APACHE and LICENSE-MIT files for license details.
docker pull sigoden/opscan