portscan.pl - POE::Component::Client::TCPMulti proof of concept.
./portscan.pl [ -vdS ] [ -t <sockets> ] [ -p <port-range> ] [ -s <Address> ] [ -x <timeout> ]
portscan.pl is simply a primitave port scanner. It sequentially opens up all of the ports in the optionally specified range, on the optionally speicified address, and closes them on success. Once it finishes, and all ports have either been opened, timed out, or errored it creates a list of all of the ports of which the connection was successful, and thier correlated service as listed in /etc/services.
To install POE::Component::Client::TCPMulti, copy and paste the appropriate command in to your terminal.
cpanm
cpanm POE::Component::Client::TCPMulti
CPAN shell
perl -MCPAN -e shell install POE::Component::Client::TCPMulti
For more information on module installation, please visit the detailed CPAN module installation guide.