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 ?