elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.
 
Inicio Ayuda Buscar Ingresar Registrarse
29 Mayo 2012, 05:18  


Tema destacado: Recuperar cuenta de Google, GMail, Youtube

+  Foro de elhacker.net
|-+  Programación
| |-+  Scripting (Moderadores: Novlucker, Leo Gutiérrez., EleKtro H@cker)
| | |-+  [Ruby] Fuzz DNS 0.3
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: [Ruby] Fuzz DNS 0.3  (Leído 198 veces)
Doddy

Desconectado Desconectado

Mensajes: 220



Ver Perfil
[Ruby] Fuzz DNS 0.3
« en: 11 Febrero 2012, 23:05 »

Un buscador de DNS.

Código
#!usr/bin/ruby
#Fuzz DNS 0.3
#Coded By Doddy H
 
paths = ['www','www1','www2','www3','ftp','ns','mail','3com','aix','apache','back','bind','boreder','bsd','business','chains','cisco','content','corporate','cpv','dns','domino','dominoserver','download','e-mail','e-safe','email','esafe','external','extranet','firebox','firewall','front','fw','fw0','fwe','fw-1','firew','gate','gatekeeper','gateway','gauntlet','group','help','hop','hp','hpjet','hpux','http','https','hub','ibm','ids','info','inside','internal','internet','intranet','ipfw','irix','jet','list','lotus','lotusdomino','lotusnotes','lotusserver','mailfeed','mailgate','mailgateway','mailgroup','mailhost','maillist','mailpop','mailrelay','mimesweeper','ms','msproxy','mx','nameserver','news','newsdesk','newsfeed','newsgroup','newsroom','newsserver','nntp','notes','noteserver','notesserver','nt','outside','pix','pop','pop3','pophost','popmail','popserver','print','printer','private','proxy','proxyserver','public','qpop','raptor','read','redcreek','redhat','route','router','scanner','screen','screening','ecure','seek','smail','smap','smtp','smtpgateway','smtpgw','solaris','sonic','spool','squid','sun','sunos','suse','switch','transfer','trend','trendmicro','vlan','vpn','wall','web','webmail','webserver','webswitch','win2000','win2k','upload','file','fileserver','storage','backup','share','core','gw','wingate','main','noc','home','radius','security','access','dmz','domain','sql','mysql','mssql','postgres','db','database','imail','imap','exchange','sendmail','louts','test','logs','stage','staging','dev','devel','ppp','chat','irc','eng','admin','unix','linux','windows','apple','hp-ux','bigip','pc']
#paths = ['www']
 
require "net/http"
 
def uso
 print "\n[+] fuzzdns.rb <domain>\n"
end
 
def toma(web)
  return Net::HTTP.get_response(web)
end
 
def savefile(file,text)
 save = File.open(file, "a")
 save.puts text+"\n"
 save.close
end
 
def head()
 print "\n\n -- == Fuzz DNS 0.3 == --\n\n"
end
 
def copyright()
  print "\n\n\n(C) Doddy Hackman 2012\n\n"
  exit(1)
end
 
def fin()
  print "\n\n[+] Scan Finished\n"
end
 
web = ARGV[0]
 
head()
if !web
 uso()
else
 print "\n[+] Starting the scan...\n\n\n"
 paths.each do |path|
   begin
     code = toma(URI.parse("http://"+path+"."+web))
   rescue
     fin()
     copyright()
   end
   case code
     when Net::HTTPSuccess
       print "[Link] : "+"http://"+path+"."+web+"\n"
       savefile("dns-logs.txt","http://"+path+"."+web)
     end
   end
 fin()    
end
 
copyright()
 
# The End ?
 


« Última modificación: 11 Febrero 2012, 23:07 por Doddy » En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
Ruby y Ruby on Rails
Programación General
Nanocity 2 675 Último mensaje 31 Octubre 2007, 21:32
por alone-in-the-chat
Audio Fuzz.
Windows
diabolisis 2 513 Último mensaje 14 Diciembre 2008, 20:35
por hitori batusai
[Introducing Ruby] Lo que debes saber sobre Ruby
Scripting
RyogiShiki 0 1,946 Último mensaje 4 Marzo 2011, 20:45
por RyogiShiki
[Python] Fuzz DNS By Doddy H
Scripting
Doddy 0 127 Último mensaje 7 Octubre 2011, 01:34
por Doddy
Distorisión de guitarra (Fuzz face)
Electrónica
choseone 3 1,612 Último mensaje 10 Enero 2012, 19:07
por rugeb
Powered by SMF 1.1.16 | SMF © 2006-2008, Simple Machines