[PERL] Port Sacanner

Iniciado por ProcessKill, Febrero 24, 2010, 04:35:30 PM

Tema anterior - Siguiente tema

0 Miembros y 1 Visitante están viendo este tema.

Febrero 24, 2010, 04:35:30 PM Ultima modificación: Marzo 14, 2015, 09:47:37 AM por Expermicid
Código: perl
#!/usr/bin/perl
#
# Simple port scanner automation with hping(Only the Type SYN conection)
# Autor: n00b
###############################################

use diagnostics;

use warnings;


print "############################\n";
print "Enter the ip/host: \n";
print "############################\n";
$host=<STDIN>;
chomp($host);

print "############################\n";
print "Enter the range of ports(for example 80-8080): \n";
print "############################\n";
$port=<STDIN>;
chomp($port);

system("hping2 -V --scan '$port' -S $host");

exit(0);