Guest User

Untitled

a guest
Apr 23rd, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. <?php
  2.  
  3. for ($a=0;$a<26;$a++) {
  4. for ($b=0;$b<27;$b++) {
  5. $fc=chr($a+97);
  6. if ($b==0) {
  7. $sc="";
  8. } else {
  9. $sc=chr($b+96);
  10. }
  11. $dom=$fc.$sc.".de";
  12. $repeat=true;
  13. while ($repeat) {
  14. echo $dom;
  15. $res=shell_exec("whois $dom ");
  16. $repeat=false;
  17. if (preg_match("/Error:/",$res)==1) {
  18. echo " : [FAIL]";
  19. sleep(10);
  20. $repeat=true;
  21. } else {
  22. preg_match("/Name: +(.+)/", $res, $name);
  23. $name=$name[1];
  24. preg_match("/Organisation: +(.+)/", $res, $org);
  25. $org=$org[1];
  26.  
  27. echo " : $name ($org) ";
  28. if (preg_match("/[Nn]etzquadrat/", $res)==1) {
  29. echo "[MATCH!]\n";
  30. }
  31. }
  32. echo "\n";
  33. }
  34. }
  35. }
Add Comment
Please, Sign In to add comment