Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
$et = (isset($_SERVER["\x48\124\x54\x50\x53"]) ? "\x68\x74\x74\x70\x73" : "\150\x74\x74\x7..
Decoded Output download
<? $et = (isset($_SERVER["HTTPS"]) ? "https" : "http") . "://{$_SERVER["HTTP_HOST"]}{$_SERVER["REQUEST_URI"]}";
$_SESSION["oauth_replaystate"] = $et;
if (get_option("mo_oauth_client_popup_login")) {
goto C0;
}
echo "window.location.href = '" . site_url() . "' + '/?option=oauthredirect&app_name=' + app_name;";
goto tF;
C0:
echo "var myWindow = window.open('" . site_url() . "' + '/?option=oauthredirect&app_name=' + app_name, '', 'width=500,height=500');";
tF: ?>
Did this file decode correctly?
Original Code
$et = (isset($_SERVER["\x48\124\x54\x50\x53"]) ? "\x68\x74\x74\x70\x73" : "\150\x74\x74\x70") . "\x3a\57\x2f{$_SERVER["\x48\124\x54\120\x5f\110\117\123\x54"]}{$_SERVER["\122\105\121\125\105\x53\124\x5f\x55\x52\x49"]}";
$_SESSION["\x6f\141\x75\164\x68\x5f\x72\145\x70\154\141\171\x73\x74\141\x74\145"] = $et;
if (get_option("\x6d\x6f\137\x6f\x61\165\164\x68\137\x63\x6c\151\145\x6e\x74\x5f\160\157\160\x75\x70\x5f\x6c\157\x67\x69\156")) {
goto C0;
}
echo "\x77\151\156\144\157\167\56\x6c\x6f\143\141\164\x69\x6f\156\56\x68\x72\x65\146\40\x3d\40\x27" . site_url() . "\x27\40\53\40\x27\57\x3f\x6f\160\164\151\157\156\x3d\157\x61\165\x74\150\x72\x65\144\x69\162\145\143\164\x26\x61\160\x70\x5f\x6e\x61\x6d\145\75\x27\40\53\40\x61\x70\x70\x5f\156\x61\155\145\73";
goto tF;
C0:
echo "\x76\x61\162\40\155\x79\127\151\156\144\x6f\167\x20\75\40\x77\151\x6e\144\157\x77\x2e\157\160\145\x6e\50\x27" . site_url() . "\47\40\53\40\x27\57\x3f\x6f\160\164\x69\157\156\x3d\157\141\x75\164\150\x72\x65\x64\x69\162\x65\x63\x74\46\x61\x70\x70\x5f\156\x61\155\x65\x3d\x27\40\x2b\40\x61\x70\x70\137\x6e\x61\155\x65\x2c\x20\x27\x27\x2c\40\47\x77\151\x64\x74\x68\x3d\65\60\60\x2c\150\145\151\x67\x68\164\75\x35\x30\60\x27\x29\x3b";
tF:
Function Calls
None |
Stats
MD5 | 0566fa7e1f6bf99e30efe1760df458c8 |
Eval Count | 0 |
Decode Time | 55 ms |