Change Dnsrecon code to change to not get the results, do not know that is not in the PY and PHP is not the same as the God horse, but with the Regexbuddy test is right, do not want to understand AH. Decisive do not change, do it yourself PHP wrote a very rough xx, with the X-degree to get sub-domain name, also no improvement, can use on OK, say PHP really slow ~ ~
<?php$curl=curl_init (); $page =0; $output = ""; while ($page <101) //Get the first 10 page results here, crawl the name of the penguin's subdomain {$query = "/s?wd=site% 3A (qq.com) &pn= ". $page." &OQ=SITE%3A (qq.com) &tn=baiduadv&ie=utf-8& "; $query = $query." Rsv_pq=8b9b2ba40000b588&rsv_t=57ebhv8afigugxvp%2byz4ek82wfvf1u0c6vqhy9pcs9fvkb7pkukedi7jllsbpk8&rsv_ Page=1 "; $page +=10; The default is 10 results per page, so the page is added 10$url= "http://www.baidu.com". $query; curl_setopt ($curl, Curlopt_url, $url); curl_setopt ($curl, curlopt_returntransfer,true); $output. =curl_exec ($curl);} $regexp = "/<span class=\" g\ ">[a-z.0-9]*\.qq\.com\/<\/span>/i", $result =array ();p Reg_match_all ($regexp , $output, $result, Preg_pattern_order);p Rint_r ($result);
A very rough xxxx