Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

${"\x47\x4c\x4f\x42AL\x53"}["hy\x6fq\x70rg\x66"]="\x72\x65\x74\x75rn";${"GL\x4f\x42A\x4c\x..

Decoded Output download

<?  ${"GLOBALS"}["hyoqprgf"]="return";${"GLOBALS"}["juhgpcvtjijs"]="licensing_server";${"GLOBALS"}["knmpnskcsyqm"]="licensing_string";function check_key($license_input_fallback=false){${${"GLOBALS"}["hyoqprgf"]}=false;$qtghpoddzc="return";if(!${${"GLOBALS"}["hyoqprgf"]}=get_option("license_key")){${"GLOBALS"}["vrfmmdjitp"]="license_input_fallback";if(${${"GLOBALS"}["vrfmmdjitp"]}){enter_license();}}return${$qtghpoddzc};}function enter_license(){global$licensing_server;if(isset($_POST["license_key"])){${${"GLOBALS"}["knmpnskcsyqm"]}=trailingslashit(${${"GLOBALS"}["juhgpcvtjijs"]})."?remote_key_auth=".base64_encode($_POST["license_key"])."&remote_site=".base64_encode(trailingslashit(site_url()));if(wp_remote_fopen(${${"GLOBALS"}["knmpnskcsyqm"]})==1){update_option("license_key",$_POST["license_key"]);echo"Activated!";echo"<script>document.location='/';</script>";}else{echo"<p>Sorry the license key you entered is invalid. Please try again or contact us for help at [email protected]</p>";}}if(!check_key()){echo"<form method=\"post\">
 Enter license key: <input type="text\" name=\"license_key\" /> <input type="submit\" name="validate_license_key\" value="Activate" />
 </form>
 <br /> <font color=\"red\"><b>Where is my key?:</b></font> <font color=\"green">Your license key has been sent to your registered email address or you can get the license key from <a style=\"color:blue\" href="http://magazine3.com/license-key\" target="_blank\">Magazine3.com/license-key</a></font> <br />
 <font color="#111\">If for some reason key is not working, Send us an email on [email protected] </font><br />  ";}}${$bgrwvt}="mm";${${"GLOBALS"}["juhgpcvtjijs"]}="http://www.magazine3.com/license/";if(!is_admin()){if(!check_key(true)){die();}}if(!function_exists("of_init")){if(STYLESHEETPATH==TEMPLATEPATH){define("OPTIONS_FRAMEWORK_URL",TEMPLATEPATH."/admin/");define("OPTIONS_FRAMEWORK_DIRECTORY",get_bloginfo("template_directory")."/admin/");}else{define("OPTIONS_FRAMEWORK_URL",STYLESHEETPATH."/admin/");define("OPTIONS_FRAMEWORK_DIRECTORY",get_bloginfo("stylesheet_directory")."/admin/");}require_once(get_template_directory() ."/admin/color-core.php");} ?>

Did this file decode correctly?

Original Code

${"\x47\x4c\x4f\x42AL\x53"}["hy\x6fq\x70rg\x66"]="\x72\x65\x74\x75rn";${"GL\x4f\x42A\x4c\x53"}["\x6a\x75hg\x70\x63\x76\x74\x6a\x69\x6a\x73"]="\x6c\x69\x63\x65\x6es\x69\x6e\x67\x5fse\x72\x76\x65\x72";${"\x47L\x4f\x42\x41LS"}["\x6bn\x6d\x70\x6e\x73\x6bc\x73\x79\x71\x6d"]="\x6ci\x63\x65\x6e\x73\x69\x6e\x67\x5fs\x74\x72\x69\x6eg";function check_key($license_input_fallback=false){${${"\x47\x4cO\x42A\x4c\x53"}["hy\x6f\x71\x70r\x67\x66"]}=false;$qtghpoddzc="\x72\x65\x74u\x72\x6e";if(!${${"\x47\x4cO\x42\x41L\x53"}["\x68y\x6f\x71\x70r\x67\x66"]}=get_option("lic\x65\x6es\x65\x5fk\x65y")){${"\x47L\x4f\x42A\x4cS"}["\x76\x72\x66m\x6d\x64\x6aitp"]="l\x69\x63\x65n\x73e_i\x6e\x70\x75\x74\x5f\x66\x61\x6clba\x63\x6b";if(${${"\x47\x4cO\x42\x41\x4cS"}["\x76rf\x6d\x6d\x64\x6aitp"]}){enter_license();}}return${$qtghpoddzc};}function enter_license(){global$licensing_server;if(isset($_POST["li\x63\x65\x6es\x65_\x6bey"])){${${"\x47L\x4f\x42A\x4cS"}["k\x6em\x70\x6e\x73\x6bc\x73yq\x6d"]}=trailingslashit(${${"GLO\x42\x41\x4cS"}["j\x75\x68\x67pc\x76tjij\x73"]})."?r\x65m\x6fte\x5fk\x65\x79_\x61u\x74h\x3d".base64_encode($_POST["\x6ci\x63\x65n\x73\x65\x5f\x6b\x65\x79"])."&r\x65m\x6ft\x65_s\x69t\x65\x3d".base64_encode(trailingslashit(site_url()));if(wp_remote_fopen(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6b\x6em\x70\x6e\x73\x6bc\x73\x79\x71\x6d"]})==1){update_option("\x6cic\x65n\x73e_\x6bey",$_POST["lic\x65nse_\x6b\x65\x79"]);echo"A\x63\x74iv\x61te\x64\x21";echo"<scr\x69pt>\x64\x6f\x63\x75m\x65\x6e\x74\x2e\x6co\x63a\x74\x69on='/\x27;</\x73\x63r\x69pt>";}else{echo"<\x70\x3e\x53\x6f\x72ry the\x20\x6cice\x6e\x73\x65 \x6bey\x20y\x6fu \x65nte\x72\x65\x64\x20i\x73 i\x6e\x76\x61li\x64. Pl\x65a\x73e\x20\x74r\x79 ag\x61\x69n \x6fr c\x6f\x6et\x61\x63\x74 us\x20f\x6fr \x68el\x70 a\x74\x20\x73\x75\x70p\x6fr\x74\x40\x6da\x67\x61zin\x653\x2e\x63\x6f\x6d</\x70>";}}if(!check_key()){echo"<\x66o\x72m\x20\x6d\x65\x74\x68o\x64=\"p\x6fs\x74\"\x3e\n Ent\x65r\x20li\x63e\x6e\x73\x65\x20key: <i\x6epu\x74 ty\x70\x65\x3d\x22\x74e\x78t\" \x6ea\x6d\x65=\"lic\x65\x6ese_ke\x79\" /> <i\x6ep\x75\x74\x20t\x79p\x65\x3d\x22\x73\x75\x62mit\" n\x61\x6d\x65\x3d\x22v\x61l\x69d\x61t\x65_l\x69\x63\x65n\x73e\x5fkey\"\x20\x76\x61lue\x3d\x22A\x63ti\x76\x61t\x65\x22\x20/\x3e\n\x20\x3c/f\x6f\x72m>\n\x20<\x62\x72 /\x3e\x20\x3c\x66ont co\x6co\x72=\"\x72ed\">\x3cb>W\x68\x65\x72e \x69\x73 m\x79 k\x65\x79?:\x3c/b>\x3c/\x66\x6fn\x74\x3e <fon\x74 \x63olo\x72=\"gr\x65\x65\x6e\x22\x3e\x59\x6fur \x6c\x69\x63\x65\x6ese k\x65\x79 has\x20\x62e\x65\x6e\x20\x73e\x6e\x74\x20\x74o\x20y\x6fu\x72 \x72\x65gi\x73tere\x64 e\x6d\x61i\x6c\x20ad\x64\x72\x65\x73\x73\x20\x6f\x72 \x79o\x75\x20\x63a\x6e g\x65t\x20\x74h\x65 lic\x65\x6e\x73\x65 ke\x79 \x66\x72o\x6d \x3c\x61 \x73tyle\x3d\"c\x6f\x6c\x6f\x72:b\x6c\x75e\"\x20\x68\x72ef=\x22\x68\x74\x74\x70://\x6d\x61\x67azine3.c\x6fm/\x6ci\x63e\x6ese-\x6bey\" \x74ar\x67\x65t=\x22_blank\"\x3eM\x61ga\x7aine3\x2e\x63o\x6d/l\x69\x63\x65nse-k\x65\x79\x3c/\x61\x3e\x3c/\x66o\x6et\x3e\x20<b\x72\x20/\x3e\n \x3c\x66\x6f\x6e\x74 \x63ol\x6f\x72=\x22#\x31\x311\"\x3e\x49f\x20\x66\x6f\x72\x20\x73om\x65 \x72ea\x73on\x20\x6bey \x69\x73 \x6eot\x20w\x6fr\x6b\x69ng, Sen\x64 \x75\x73 \x61\x6e\x20e\x6dai\x6c\x20\x6f\x6e h\x65l\x70\x40m\x61\x67\x61zine3\x2ec\x6fm \x3c/f\x6fn\x74><b\x72\x20/\x3e\x20\x20";}}${$bgrwvt}="\x6dm";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x75\x68\x67p\x63\x76t\x6ai\x6a\x73"]}="h\x74\x74\x70\x3a//ww\x77.m\x61g\x61z\x69\x6e\x653\x2e\x63\x6f\x6d/l\x69\x63ens\x65\x2f";if(!is_admin()){if(!check_key(true)){die();}}if(!function_exists("\x6ff\x5f\x69\x6eit")){if(STYLESHEETPATH==TEMPLATEPATH){define("O\x50\x54\x49\x4f\x4eS\x5f\x46\x52\x41\x4dEWORK_\x55R\x4c",TEMPLATEPATH."\x2fa\x64\x6d\x69n\x2f");define("\x4fPT\x49O\x4eS\x5f\x46R\x41\x4dEW\x4f\x52\x4b\x5fDIR\x45\x43TOR\x59",get_bloginfo("\x74\x65\x6dp\x6ca\x74e_dire\x63tory")."\x2fa\x64\x6d\x69\x6e/");}else{define("\x4fPT\x49\x4f\x4e\x53\x5fF\x52AME\x57O\x52\x4b_\x55\x52\x4c",STYLESHEETPATH."/\x61\x64\x6d\x69\x6e\x2f");define("\x4f\x50\x54\x49\x4fN\x53_\x46RAM\x45WO\x52\x4b\x5f\x44\x49RE\x43TO\x52\x59",get_bloginfo("\x73\x74y\x6ces\x68\x65et\x5f\x64ir\x65\x63\x74o\x72\x79")."/a\x64m\x69n/");}require_once(get_template_directory() ."/admin/colo\x72-\x63ore.p\x68p");}

Function Calls

is_admin 1

Variables

0 mm
GLOBALS [{'key': 'hyoqprgf', 'value': 'return'}, {'key': 'juhgpcvtjijs', 'value': 'licensing_server'}, {'key': 'knmpnskcsyqm', 'value': 'licensing_string'}]
licensing_server http://www.magazine3.com/license/

Stats

MD5 a877ade7433d0e865bfe324141eadbf9
Eval Count 0
Decode Time 98 ms