Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- for ($a=0;$a<26;$a++) {
- for ($b=0;$b<27;$b++) {
- $fc=chr($a+97);
- if ($b==0) {
- $sc="";
- } else {
- $sc=chr($b+96);
- }
- $dom=$fc.$sc.".de";
- $repeat=true;
- while ($repeat) {
- echo $dom;
- $res=shell_exec("whois $dom ");
- $repeat=false;
- if (preg_match("/Error:/",$res)==1) {
- echo " : [FAIL]";
- sleep(10);
- $repeat=true;
- } else {
- preg_match("/Name: +(.+)/", $res, $name);
- $name=$name[1];
- preg_match("/Organisation: +(.+)/", $res, $org);
- $org=$org[1];
- echo " : $name ($org) ";
- if (preg_match("/[Nn]etzquadrat/", $res)==1) {
- echo "[MATCH!]\n";
- }
- }
- echo "\n";
- }
- }
- }
Add Comment
Please, Sign In to add comment