
Portscan is a simple port scanner for random IPs or specified IP ranges. Logs the open ports to a separate text file.
Language | Perl |
License | GPLv3 |
Version | 1.2.0 |
Release date | December 29, 2020 |
Download | zip archive |
SHA256 | 7b0a093627f10027e46cc585d1ab58a9c2d274b773a6208ce2c40d1876cd2cf6 |
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 specifies 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
License
Portscan is written by sizeof(cat) and distributed under the GPLv3 license.
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/>.