Saltar al contenido
Underc0de /foro

[PERL] Port Sacanner

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

Tema anterior - Siguiente tema

0 Miembros y 2 Visitantes están viendo este tema.

Avatar de ProcessKill
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);
WhatsApp Telegram

¿Te quedó una duda sobre Perl?

Preguntala y te responde la comunidad (y el asistente Underc0de IA si nadie llega antes). Es gratis y tarda un minuto.

Ya tengo cuenta
Guardamos tu pregunta en este navegador: después de entrar la publicás con un clic.
Grupo de WhatsApp