This site uses cookies own and third. If you continue to browse consider to accept the use of cookies. OK More Info.

Scanner Port ( Ruby) by Guason

  • 0 Replies
  • 3510 Views

0 Members and 1 Guest are viewing this topic.

Offline dracko.rx

  • *
  • Underc0der
  • Posts: 238
  • Actividad:
    0%
  • Reputación 0
    • View Profile
    • http://rax0rnet.blogspot.com/
    • Email

Scanner Port ( Ruby) by Guason

  • on: February 25, 2010, 11:41:21 am
Code: (ruby) You are not allowed to view links. Register or Login
#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
« Last Edit: August 16, 2014, 10:27:00 am by Expermicid »
Venta de diseños - Contactar por MP

You are not allowed to view links. Register or Login