Portscan is a simple port scanner for random IPs or specified IP ranges. Logs the open ports to a separate text file.
|Release date||December 24, 2021|
$ perl portscan.pl -r IPRANGE -p PORTNUMBER -h -v
-p specifies the port number to scan, for example
-p 80 or
-r specifies the IP range to scan, ignore it for random IP scanning. Ranges can be specified in the
-h shows the program help
-v shows the program version
$ perl portscan.pl -r 10.80.0.1-10.80.1.255 -p 80,443
Portscan is written by sizeof(cat) and released under GPLv3.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
created Sunday, February 28, 2016
updated Friday, December 24, 2021
tags #network, #security, #projects, #perl, #pentesting