Advertisement
M45KL

SubDomain Scanner

Oct 22nd, 2017
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 2.92 KB | None | 0 0
  1. #!/usr/bin/perl
  2. #Gr33tz to Boualem,M-A labz , All Gantengers-crews.org
  3. #Soon V2 Perfect *.*
  4. #Tutorial : http://img15.hostingpics.net/pics/635119sub.gif
  5.  
  6. use HTTP::Request;
  7. use LWP::UserAgent;
  8. if($^O =~ /Win/){
  9.  
  10.    system("cls");
  11.    system("color a");
  12.    system("title SubDomain Checker v1");
  13.  
  14. }else{
  15.  
  16.    system("clear");
  17. }
  18. print q{
  19.  
  20. ███╗    ███████╗██╗     ██████╗ ███████╗██████╗ ███████╗ ██████╗ ██████╗ ██████╗ ███████╗    ███╗
  21. ██╔╝    ██╔════╝██║     ██╔══██╗██╔════╝██╔══██╗██╔════╝██╔════╝██╔═████╗██╔══██╗██╔════╝    ╚██║
  22. ██║     █████╗  ██║     ██║  ██║█████╗  ██████╔╝███████╗██║     ██║██╔██║██║  ██║█████╗       ██║
  23. ██║     ██╔══╝  ██║     ██║  ██║██╔══╝  ██╔══██╗╚════██║██║     ████╔╝██║██║  ██║██╔══╝       ██║
  24. ███╗    ███████╗███████╗██████╔╝███████╗██║  ██║███████║╚██████╗╚██████╔╝██████╔╝███████╗    ███║
  25. ╚══╝    ╚══════╝╚══════╝╚═════╝ ╚══════╝╚═╝  ╚═╝╚══════╝ ╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝    ╚══╝
  26.  
  27.                                     [ C0de's Famiglia ]
  28. };
  29. sleep(1);
  30.  
  31. print "Target (without http://) :";
  32. $host = <>;
  33. chomp($host);
  34. $zeb = "http://www.ewhois.com/".$host."\/";
  35. $fuck = LWP::UserAgent->new();
  36. $klawii = $fuck->request(HTTP::Request->new(GET=>$zeb));
  37. $ipp = $klawii->content;
  38. if($ipp =~ m/<span id=\"ip_display\">(.*?)<\/span>/) {
  39.  
  40.  print "\n [+] Host IP : $1 \n";
  41. }
  42.  
  43. $tbone = LWP::UserAgent->new();
  44.    $tbone->agent('Mozilla/5.0 (Windows; U; Windows NT 5.1; de-LI; rv:1.9.0.16) Gecko/2009120208 Firefox/3.0.16 (.NET CLR 3.5.30729)');
  45.    $tembaka = "http://www.pagesinventory.com/search/?s=".$host."";
  46.    $klawi = $tbone->request(HTTP::Request->new(GET=>$tembaka));
  47.    $resullt = $klawi->content;
  48.  
  49. while($resullt =~ m/<td><a href=\"\/domain\/(.*?).html\">/g ) {
  50.  
  51.  print "\n     [*]Subdomain: $1\n";
  52.  sleep(1);
  53.  open(a, ">>sub.txt");
  54. print a "http://$1\n";
  55. close(a);
  56.  
  57. }
  58. print "\n\nResult in sub.txt\n";
  59.  
  60. if($^O =~ /Win/){
  61.  
  62.   system("start http://forum.gantengers-crews.org/");
  63.  
  64. }else{
  65.  
  66.   system("firefox https://eldersc0de-family.blogspot.co.id");
  67. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement