portscan is a simple port scanner for random IPs or specified IP ranges. Logs the open ports to a separate text file.

LanguagePerl
LicensePublic Domain
Version1.1.0
Release dateFebruary 26, 2016
Downloadzip archive
Sourcegit clone https://github.com/sizeofcat/portscan.git

Usage

$ perl portscan.pl -r IPRANGE -p PORTNUMBER -h -v

-p specifies the port number to scan, for example -p 80 or -p 80,443.

-r speficies the IP range to scan, ignore it for random IP scanning. Ranges can be specified in the 10.80.0.1-10.80.1.255 or 10.80.1.0/24 formats.

-h shows the program help

-v shows the program version

Example

$ perl portscan.pl -r 10.80.0.1-10.80.1.255 -p 80,443