[PHP代码]子域名爆破

<?php

//www.zcjun.com
function domainfuzz($domain) {
        $ip = gethostbyname($domain);
        preg_match("/\d+\.\d+\.\d+\.\d+/",$ip,$arr);
        return $arr;
}
 
function main() {
        if(isset($_GET['q'])) {
                $return = array();
                $domain = trim($_GET["domain"]);
                //前缀字典
                $q = trim($_GET["q"]);
                preg_match("/(\w+\.\w+)$/",$domain,$arr);
                $fuzz = $q.'.'.$arr[1];
                $result = domainfuzz($fuzz);
                $return["domain"] = $fuzz;
                if(empty($result)) {
                        $return["status"] = 500;
                        $return["ip"] = null;
                } else {
                        $return["status"] = 200;
                        $return["ip"] = $result[0];
                }
                echo json_encode($return);
        }
}
 
main();
if(!isset($_GET['q'])) {
?>
<!DOCTYPE html>
<html>
        <head>
<title>在线子域名爆破|www.laolibab.cn|老李导站</title>
                <meta charset="utf-8">
                <link rel="alternate icon" type="image/png" href="/favicon.png">                
				<link rel="stylesheet" href="//cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css">
                <link rel="stylesheet" href="//cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap-theme.min.css">
                <script src="//cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script>
                <script src="//cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
                <style type="text/css" media="screen">
                </style>
        </head>
        <body>
                域名:<input type="text" id="domain">
                <button>开始</button>
                <div id="fuzz"></div>
                <div id="info"></div>
        </body>
        <script>
                //字典自己添加
                var dist = ["www","mail","ftp","smtp","pop","m","webmail","pop3","imap","localhost","autodiscover","admin","bbs","test","mx","en","email","wap","blog","oa","ns1","vpn","ns2","www2","mysql","webdisk","dev","old","news","calendar","shop","potala","mobile","web","sip","mobilemail","ns","cpanel","www1","whm","new","img","search","support","mail2","media","files","e","video","app","secure","my","crm","intranet","portal","demo","api","beta","fax","lyncdiscover","dns","images","db","staging","info","docs","static","ns3","download","forum","cms","cdn","www3","wiki","pda","dns1","home","mail1","online","sso","lists","webproxy","office","dns2","get","t","gis","proxy","pic","edu","d","ns4","cs","cn","b2b","store","community","start","services","wx","service","training","remote","health","help","vip","soft","finance","photo","apps","owa","login","es","s","ads","stats","events","forums","sc","tv","data","jobs","survey","it","hr","sms","game","stage","i","send","member","v","a","ww","sz","live","im","go","chat","3g","gateway","library","ftp2","dialin","security","meet","upload","w","blogs","de","image","msoid","hk","down","gmail","ssh","fr","english","exchange","so","av","cp","erp","cloud","legacy","ldap","ad","sites","access","archive","job","connect","hq","alumni","downloads","extranet","lib","tools","careers","wt","ask","student","host","ns5","helpdesk","u","vc","status","direct","rs","hb","sp","mailhost","uk","netmang","svn","tz","ms","sx","zb","metrics","mx2","hd","ss","qa","dj","www4","bm","jp","file","project","club","dl","feeds","IN","ent","ws","food","update","tj","book","as","gb","lab","1","dx","js","b","sh","cnc","videos","dns3","outlook","software","auth","tw","preview","hs","git","content","press","ir","cq","projects","car","monitor","backup","meeting","c","photos","games","radio","gw","public","buy","ssl","mall","research","groups","pt","wwww","forms","music","cx","cj","techmang","bj","math","res","mang","open","ntp","w3","biz","ca","map","ru","design","share","th","relay","house","in","vpn2","x","citrix","labs","pub","education","jw","global","tp","card","jk","f","gh","sd","www5","rt","reg","us","weather","newsletter","ticket","server","irc","apple","cache","youth","rms","www0","mx1","feedback","fz","ams","wh","reports","auto","travel","cm","origin","account","site","cc","p","vote","bt","ems","manage","pms","dk","sharepoint","mssql","partner","spam","lt","link","user","tg","sg","business","xx","ly","students","ts","fs","vpn1","dm","uc","digital","cl","pages","abc","brand","event","alpha","sys","assets","0","members","money","mdm","sales","stat","local","be","tuan","marketing","bugs","mail3","dy","time","stream","code","partners","view","da","g","tr","inside","br","phx","st","dms","jj","gallery","wp","shopping","promo","china","social","show","union","pm","web1","test2","gc","ja","kb","register","sq","pc","maps","android","corp","wireless","pos","ce","rsc","jira","accounts","customer","jd","list","ec","adm","web2","rtx","corporate","flash","developer","rss","tour","wl","log","smtp2","sns","sf","cas","directory","webdev","temp","ps","q","idc","sm","ks","bc","hy","fx","tech","bb","tao","weixin","journal","updates","agent","art","hg","ic","mobi","cd","usa","cr","hao","desktop","ex","ra","teacher","r","ag","dc","jwc","mrtg","tu","sj","ace","space","ft","lp","fw","mailgw","mis","co","investors","bookstore","sql","hermes","ip","3","eq","sandbox","client","css","catalog","sports","sentry","kr","internal","ky","sy","investor","mms","exam","transfer","ga","summer","conference","hotel","dz","pro","doc","eng","cf","registration","whois","life","world","ae","sts","mp","staff","id","push","enterprise","bi","webservices","idp","pe","prod","mailgate","top","yy","zw","lms","edm","linux","vps","nj","mm","net","z","ml","webcast","phone","manager","cz","ids","smtp1","work","mars","listserv","campus","special","ee","n","au","cw","pay","dealer","barracuda","6","pp","acs","chem","nl","w2","audio","family","xa","multimedia","jabber","click","international","ct","resource","cal","mailman","links","pl","2","stock","movie","atlas","fm","shanghai","keys","mi","love","product","ls","sb","ch","wb","fb","qc","intra","em","dw","cert","hn","yp","noc","fc","main","md","ww2","streaming","master","ma","daj","ny","print","bg","nas","me","kids","archives","wms","webadmin","stu","xb","h","xml","asp","server1","order","sync","ftp1","zp","asia","hz","pa","power","signup","hh","history","learning","password","nc","edge","gg","storage","hub","ess","yun","opac","test1","jupiter","fms","123","xl","cvs","crl","ocs","bz","lb","newsroom","pf","webstats","market","radius","cwc","tk","int","dt","acc","rd","jn","post","ys","cis","se","ops","one","edit","testing","xt","affiliate","y","train","orion","j","mb","build","developers","pr","s1","edi","nb","ds","pj","trac","ac","mkt","ci","gate","csc","mailer","kf","www7","golf","canada","imp","gm","bugzilla","development","nanjing","ar","insight","ns0","zz","profile","ns01","seo","gs","aaa","law","about","act","mercury","star","sam","parking","apollo","dev1","cgi","police","energy","k","websphere","weblogic","admissions","gd","sl","sk","mc","www35","xf","free","website","faculty","bio","bh","earth","india","xh","ph","wm","study","japan","gov","xs","nagios","conf","zeus","at","smart","bk","win","rc","tl","cps","ice","pan","ah","bak","team","tool","gl","ideas","safety","s2","baby","beijing","db1","nz","ie","dr","UN","athena","bd","ceshi","no","up","is","cg","iphone","welcome","red","domain","affiliates","control","class","voip","gps","cam","network","film","by","fi","track","nt","arc","pluto","jf","sdc","www6","traveler","mt","a1","telecom","voice","arch","redirect","drive","billing","ccs","dh","blue","arts","its","phoenix","wwwdev","l","cy","webtrends","books","redmine","nic","webcam","play","sport","ims","tc","ns02","engineering","sun","web3","supplier","syslog","mg","o","www36","mirror","products","bill","sa","tfs","eas","loopback","talk","mp3","foundation","tracker","mail4","pk","college","housing","hp","uploads","www8","router","board","aws","gy","oa1","green","fl","mac","jm","chemistry","mailserver","plus","group","kh","ricard","beauty","aa","antivirus","repo","cat","discover","pg","venus","center","dragon","titan","hi","dg","courses","pki","box","portfolio","vod","boss","jl","astro","tt","solutions","wwws","solr","un","msg","hybrid","la","mtest","picard","ios","sw","mas","tel","nms","webapp","km","firewall","bank","recruit","tms","www9","wsj","source","emergency","read","lm","am","gift","www43","nursing","ht","img2","rp","google","water","report","dp","iris","analytics","neptune","lady","guide","img1","eshop","ww1","db2","csg","man","volunteer","webserver","pd","phpmyadmin","webmaster","count","jt","eis","mj","marketplace","delta","computer","java","comm","bs","focus","horizon","jg","pdf","guest","upgrade","vision","leo","lg","monitoring","active","psychology","ariel","hl","nano","cb","ces","haosf","oss","hc","sky","www37","logs","fj","auction","lw","banner","jr","ep","jenkins","webservice","happy","mail01","tx","gold","eps","app1","translate","cdn2","10","sos","saturn","xg","sis","sr","espanol","form","sn","resources","py","gz","ap","mantis","vcs","wordpress","solar","chinese","contact","mobil","www41","planet","5","tm","internet","splunk","bug","physics","gsa","studio","ty","ccc","mta","4","jc","15","cacti","sale","xian","hpc","ww3","singapore","wy","com","ren","adv","production","tb","mag","audit","01","mo","w1","jpk","loghost","mse","sus","counter","eagle","geo","sec","mh","acm","check","elasticsearch","bo","hf","adserver","hongkong","hot","vm","struts","php","air","kj","feed","02","m2","drm","sbc","disk","trip","mr","pics","ping","accounting","cars","gp","wow","nn","europe","virtual","ba","spider","core","che","dd","gr","users","nib","zend","sps","pin","homer","os","registrar","faq","fy","system","passport","matrix","el","credit","ea","ta","kk","safe","join","ge","webaccess","lc","movies","qq","science","analysis","taobao","mx3","moa","flow","payment","creative","echo","ua","mini","sas","facilities","cdn1","8","gk","wifi","bms","dns4","v2","real","news2","orange","jjc","imail","ras","src","publications","communications","ecommerce","bgs","ns6","people","ro","nexus","www01","test3","xmpp","france","ipv6","oracle","sem","eu","sou","orders","retail","wc","lx","op","xc","ares","find","alert","hm","german","case","nginx","wei","iss","engage","hu","mailbox","www14","tiger","next","pma","gt","nw","commerce","backend","aj","lh","econ","chicago","fang","museum","ab","si","wf","advertising","nm","paper","elastic","www34","sv","www10","amp","yt","dag","zs","www12","ismart","moon","wa","technology","school","www11","ka","widget","ck","pharmacy","csr","taiwan","president","bus","mw","7","fk","jh","lf","french","server5","mob","ok","wd","2013","18","biology","ddh","hydra","reader","city","shop2","kc","om","xxx","galaxy","gatekeeper","expo","wg","rm","spanish","drupal","ln","database","9","voicemail","statistics","sanguo","pv","mcs","af","robot","et","ipad","query","fd","traffic","he","mnews","enroll","s3","classic","m1","www02","http","cmp","cart","max","17","bf","action","philosophy","att","smg","psych","mv","ai","channel","16","mailing","li","was","publish","fun","20","bl","nk","editor","external","smtp3","rds","eos","df","med","apex","grad","sap","ko","vpn3","jboss","picwww","emba","ext","manyi","re","pingan","classifieds","03","korea","expert","knowledge","po","voyager","legal","devel","newton","speed","lj","pi","rz","touch","fa","ics","quiz","alerts","srm","www15","style","io","soc","index","vn","sol","11","ws1","a2","abs","healthcare","economics","athletics","applications","idea","td","www31","kiosk","ha","lian","ssc","dir","junshi","19","vega","sjc","2012","oc","www13","epaper","kt","bw","zj","pad","pass","academic","14","akamai","cisco","develop","wk","london","static1","mz","eco","ebook","on","sirius","pegasus","policy","gemini","bca","artemis","line3","aries","yule","fp","gaj","dsp","2014","server2"];
                var num = 0;
                var domain = "";
                $("button").click(function() {
                        num = 0;
                        domain = $("#domain").val();
                        query();
                });
                function query() {
                         
                        $.get("","domain="+domain+"&q="+dist[num],function(res){
                                $("#fuzz").html(res.domain);
                                if(res.status == 200) {
                                        $("#info").append("爆破成功:"+ res.domain + "-" + res.ip+ "<br>");
                                }
                                 
                        },"json");
                        num++;
                        if(num<3000) {
                                query();
                        }
        }
                //alert(dist.length);
        </script>
</html>
 
<?php
 
}
?>

子成君博客转载

版权声明:Mgo 发表于 2018-06-01 9:19:04。
转载请注明:[PHP代码]子域名爆破 | 站长聚集地

11 条评论

评论已关闭...
  • Kathrynstype
    Kathrynstype Vip1

    XRumer16.0+XEvil4.0:全新的创新软件解决方案,可打破任何验证码

    1. 强大的Neuronets:XEvil OCR可以解决超过12000种不同类型的验证码,
    包括这样的流行,像谷歌验证码的ReCaptcha v2,v3(在XEvil4.0超只!),Captcha.Com,SolveMedia,必应验证码,
    Facebook的-验证码和Ucoz-验证码,Yandex的验证码,DLE-验证码,VBulletin-验证码,还有很多其他类型的!

    2. 极高的速度和精度:识别速度0.01。. 每张图片0.02秒(但在演示版本中只有1秒!),
    XEvil可以绕过并解决高精度captcha的广泛类型,
    不取决于难度,失真,噪音,字体,颜色。

    例外是谷歌验证码-2-每个解决方案约20-30秒:
    在ReCaptcha-2需要点击大量的图像在它有一个特殊的延迟。

    3. 非常简单的用户界面:只需3个主按钮即可开始识别,
    因此,它很容易与搜索引擎优化,SMM,分析广泛的幽灵程序使用,
    批量自动注册/发布/发送/发布/加密货币挖掘计划。

    有兴趣吗? 😉
    只需在google中搜索XEvil即可免费。
    免费试用版可用!

    感谢您的关注! 😉

    网站免费试玩版:
    http://XEvil.net/

  • DonaldLah
    DonaldLah Vip1

    XYZ專業光碟教學網站 http://xyz.net.tw/

  • Dannygak
    Dannygak Vip1

    台北市 萬華 禾云室內設計

    http://interior-plan.com/

  • Keithsek
    Keithsek Vip1

    【揚歌-教學麥克風直營店】官方線上購物網站─JM-180B有線麥克風擴音器│無線麥克風擴音器│揚歌小蜜蜂│專營教學麥克風及教學擴音器

    https://mic-shop.com/

  • Kathrynstype
    Kathrynstype Vip1

    XRumer16.0+XEvil4.0:全新的创新软件解决方案,可打破任何验证码

    1. 强大的Neuronets:XEvil OCR可以解决超过12000种不同类型的验证码,
    包括这样的流行,像谷歌验证码的ReCaptcha v2,v3(在XEvil4.0超只!),Captcha.Com,SolveMedia,必应验证码,
    Facebook的-验证码和Ucoz-验证码,Yandex的验证码,DLE-验证码,VBulletin-验证码,还有很多其他类型的!

    2. 极高的速度和精度:识别速度0.01。. 每张图片0.02秒(但在演示版本中只有1秒!),
    XEvil可以绕过并解决高精度captcha的广泛类型,
    不取决于难度,失真,噪音,字体,颜色。

    例外是谷歌验证码-2-每个解决方案约20-30秒:
    在ReCaptcha-2需要点击大量的图像在它有一个特殊的延迟。

    3. 非常简单的用户界面:只需3个主按钮即可开始识别,
    因此,它很容易与搜索引擎优化,SMM,分析广泛的幽灵程序使用,
    批量自动注册/发布/发送/发布/加密货币挖掘计划。

    有兴趣吗? 😉
    只要做搜索在谷歌"XEvil免费"。
    免费试用版可用!

    感谢您的关注! 😉

    网站免费试玩版:
    XEvil.net

  • MichaelJoura

    【揚歌-教學麥克風直營店】官方線上購物網站─JM-180B有線麥克風擴音器│無線麥克風擴音器│揚歌小蜜蜂│專營教學麥克風及教學擴音器

    https://mic-shop.com/

  • RonnieWeara

    【揚歌-教學麥克風直營店】官方線上購物網站─JM-180B有線麥克風擴音器│無線麥克風擴音器│揚歌小蜜蜂│專營教學麥克風及教學擴音器

    https://mic-shop.com/

  • DonaldHew
    DonaldHew Vip1

    unethost無限空間虛擬主機 技術分享部落格

    http://blog.unethost.com/

  • DanielVag
    DanielVag Vip1

    第一借錢網擁有全台最多的借錢資訊

    https://168cash.com.tw/

  • MartyTic
    MartyTic Vip1

    寳島騎跡自行車協會 https://fmb.tw/

  • Dannygak
    Dannygak Vip1

    第一借錢網

    https://168cash.com.tw/adv/area