Advertisement
Kro0oz

domain without

Oct 24th, 2015
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.65 KB | None | 0 0
  1. <?php
  2.      
  3.     /*
  4.      
  5.     subdomain checker coded by Kro0oz
  6.      
  7.     this script is gift for my friend
  8.  
  9.     php script.php 'name of ur domain'
  10.      
  11.     domaine without http://
  12.     */
  13.      
  14.       if(!$argv[1]){
  15.          die("\n usage $argv[0] 'name of ur domain' \n");
  16.        }
  17.         if(eregi("http://",$argv[1])){
  18.           die("\n pls domain without htpp:// \n");
  19.         }else{
  20.     $g=@file_get_contents("http://www.pagesinventory.com/search/?s=$argv[1]");
  21.     @preg_match_all('#<td><a href="\/domain\/(.*?).html">#',$g,$matches) ;
  22.      
  23.     foreach ($matches[1] as $ul){
  24.       echo "http://".$ul."/"."\n";
  25.     }
  26.      }
  27.     ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement