Scanner Port ( Ruby) by Guason

Iniciado por dracko.rx, Febrero 25, 2010, 11:41:21 AM

Tema anterior - Siguiente tema

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

Febrero 25, 2010, 11:41:21 AM Ultima modificación: Agosto 16, 2014, 10:27:00 AM por Expermicid
Código: ruby
#Name program = Scanner-Port
#Version = beta
#Autor = Guason



require 'socket'
require 'timeout'

host=ARGV[0]
pi=ARGV[1]
pf = ARGV[2]

if !host

print "\nScanner Port by Guason\n\n"
print "Modo de uso = <HOST> <PUERTO INICIAL> <PUERTO FINAL>\n\n\n"
print "<HOST> = Ip o host a scanear\n"
print "<PUERTO INICIAL> = Puerto inicial\n"
print "<PUERTO FINAL> =Puerto final\n\n\n"
print "Written by Guason\n\n\n"
exit(1);



else

host=ARGV[0]

print "\n\nIniciando scaneo a #{host} con parametros #{pi}-#{pf}\n\n"




for port in (pi..pf)




begin
Timeout::timeout(0.2) {
sock=TCPSocket.new(host,port)
}
rescue Timeout::Error

rescue

print ""





else


print "Puerto  #{port} ABIERTO \n"



end
end



print "\n\nScaneo finalizado\n\n"
print "Written by Guason || 2009\n\n"
exit(1);


end





#Agradecimientos = protos por sus manuales bien explicados y a todo el foro Under Security
#Email Autor = [email protected]
#wEB = infierno-hacking.webcindario.com
#Blog = guason-cracker.blogspot.com
#Good Bye
Venta de diseños - Contactar por MP

You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login