Advertisement
GoldenHackerTools

Untitled

Oct 24th, 2019
523
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.89 KB | None | 0 0
  1. #!/usr/bin/perl
  2.  
  3. use Digest::MD5 qw(md5 md5_hex md5_base64);
  4. use IO::Select;
  5. use HTTP::Response;
  6. use HTTP::Request::Common qw(GET);
  7. use URI::URL;
  8. use IO::Socket::INET;
  9. use Term::ANSIColor qw(:constants);
  10. use MIME::Base64;
  11. use LWP;
  12. use HTTP::Cookies;
  13. use HTML::Entities;
  14. use URI::Escape;
  15. use Win32::Console::ANSI;
  16. use Term::ANSIColor;
  17. use LWP::UserAgent;
  18. use HTTP::Request;
  19. use HTTP::Request::Common qw(POST);
  20. use LWP::UserAgent;
  21. use HTTP::Request::Common;
  22. use Term::ANSIColor;
  23. use HTTP::Request::Common qw(GET);
  24. use MIME::Base64;
  25. use WWW::Mechanize;
  26. use threads;
  27.  
  28. if ($^O =~ /MSWin32/) {system("cls"); system("color A");
  29. }else { system("clear"); }
  30. print " ######################################################################\n";
  31. print " # #\n";
  32. print color 'reset';
  33. print color("bold red")," # Golden-Hacker #\n";
  34. print color("bold red")," # _____ _ _ #\n";
  35. print color("bold red"), " # / ____| | | | | #\n";
  36. print color("bold red"), " # | | __ ______ | |__| | #\n";
  37. print color("bold red"), " # | | |_ | |______| | __ | #\n";
  38. print color("bold red"), " # | |__| | | | | | # \n";
  39. print color("bold red"), " # \_____| |_| |_| # \n";
  40. print color 'reset';
  41. print color("bold Green"), " # # \n";
  42. print color("bold Green"), " # Skype : Mrmohmed.Hacker # \n";
  43. print color("bold Green"), " # # \n";
  44. print color("bold Green"), " ######################################################################\n";
  45. print color("bold Green"), "\n";
  46. print color("bold Green"), "[*]-----------------------------------------------------------------------[*]\n";
  47. print color("bold Green"), "[+] Script Name :{*} Range Ip And Found Whm {*} \n";
  48. print color("bold Green"), "[+] Version : 1.0\n";
  49. print color("bold Green"), "[+] Programed By : Golden-Hacker & Ahmed Ali\n";
  50. print color("bold Green"), "[+] Email : http://Fb.com/mrm0hm3d\n";
  51. print color("bold Green"), "[*]-----------------------------------------------------------------------[*]\n";
  52. print color('bold red'),"\n";
  53. print color('bold red'),"\n";
  54. print color 'reset';
  55. print color("Green"), "Enter IP List : ";
  56. print color 'reset';
  57.  
  58.  
  59. my $list=<STDIN>;
  60. chomp($list);
  61. open (THETARGET, "<$list") || die "[-] Can't open the List of site file ?!";
  62. @TARGETS = <THETARGET>;
  63. close THETARGET;
  64. $link=$#TARGETS + 1;
  65. OUTER: foreach $tofuck(@TARGETS){
  66. chomp($tofuck);
  67. if($tofuck =~ /http:\/\/(.*)\//) {
  68. $tofuck= $1;
  69. gett();
  70.  
  71. }else{
  72. gett();
  73.  
  74. }
  75.  
  76. }
  77.  
  78.  
  79. ##############################
  80. sub gett(){
  81. print color('bold red'),"\n";
  82. $ip= (gethostbyname($tofuck))[4];
  83. my ($a,$b,$c,$d) = unpack('C4',$ip);
  84. for ($i = 1; $i <= 255; $i+=1){
  85. $ips ="$a.$b.$c.$i";
  86. OUTER: foreach $ip($ips){
  87.  
  88. print color('bold red')," Ping : $ips\n";
  89. print TEXT "$ips\n";
  90. close (TEXT);
  91. open(save, '>>Ips.txt');
  92. print save "$ips\n";
  93. close(save);
  94. $dork="ip:$ips";
  95. getwhm();
  96. }
  97. }
  98. }
  99. #############################
  100. sub getwhm(){
  101.  
  102.  
  103. use LWP::Simple qw($ua head);
  104. $ua->timeout(0.4);
  105.  
  106. my $url = "http://$ips/cgi-sys/defaultwebpage.cgi";
  107. if (head($url)) {
  108. print color 'reset';
  109. print color('bold green')," Whm : Found \n";
  110. print color 'reset';
  111. open(save, '>>Whm-Found.txt');
  112. print save "$ips\n";
  113. close(save);
  114. } else {
  115.  
  116. }
  117.  
  118. }
  119. ####################################"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement