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 ${"\x47\x4c\x4f\x42\x41\x4cS"}["o\x62j\x66\x65\x66p\x70\x74b"]="\x63o\x6c";${"\x47L\..

Decoded Output download

<?php ${"GLOBALS"}["objfefpptb"]="col";${"GLOBALS"}["xgongbrrjwi"]="datalocal";ini_set("display_errors",1);$tgmnbfydgqx="col";$lsrlqghxtox="pwdlocal";$ugobjefu="userlocal";${"GLOBALS"}["gxlgkxsdz"]="hostlocal";${${"GLOBALS"}["gxlgkxsdz"]}="localhost";${$ugobjefu}="root";${$lsrlqghxtox}="F201603907";${${"GLOBALS"}["xgongbrrjwi"]}="pmi";date_default_timezone_set("Asia/Jakarta");try{$kqsbgdebnk="userlocal";$hvbpmonjg="dblocal";$vdtoyokcwue="pwdlocal";${$hvbpmonjg}=new PDO("mysql:host=$hostlocal;dbname=$datalocal",${$kqsbgdebnk},${$vdtoyokcwue});print"Data Lokal: OK
";}catch(PDOException$e){echo$e->getMessage();}$dblocal->setAttribute(PDO::ATTR_ERRMODE,PDO::ERRMODE_EXCEPTION);${$tgmnbfydgqx}=$dblocal->prepare("update pendonor set up_data=0");try{$col->execute();print"Reset Pendonor OK
";}catch(PDOException$e){print"Reset Pendonor Error
";}${${"GLOBALS"}["objfefpptb"]}=$dblocal->prepare("update `user` set `up_data`=0");try{$col->execute();print"Reset User OK
";}catch(PDOException$e){print"Reset User ERROR
";}${${"GLOBALS"}["objfefpptb"]}=$dblocal->prepare("update dokter_periksa set up_data=0");try{$col->execute();print"Reset Dokter OK
";}catch(PDOException$e){print"Reset Dokter ERROR
";} 
?> 

Did this file decode correctly?

Original Code

<?php ${"\x47\x4c\x4f\x42\x41\x4cS"}["o\x62j\x66\x65\x66p\x70\x74b"]="\x63o\x6c";${"\x47L\x4f\x42\x41L\x53"}["\x78\x67o\x6egbr\x72jw\x69"]="\x64\x61\x74a\x6c\x6fc\x61\x6c";ini_set("\x64is\x70\x6c\x61y\x5f\x65rrors",1);$tgmnbfydgqx="\x63\x6f\x6c";$lsrlqghxtox="\x70\x77\x64\x6c\x6f\x63\x61\x6c";$ugobjefu="use\x72\x6c\x6fc\x61l";${"GLOBA\x4c\x53"}["\x67\x78\x6cgk\x78s\x64\x7a"]="\x68o\x73t\x6c\x6fcal";${${"G\x4cOB\x41L\x53"}["g\x78\x6cgkx\x73\x64z"]}="l\x6f\x63\x61\x6c\x68os\x74";${$ugobjefu}="\x72oo\x74";${$lsrlqghxtox}="F\x32\x30\x31\x36\x30\x33\x39\x307";${${"\x47L\x4f\x42AL\x53"}["x\x67\x6fn\x67\x62\x72\x72\x6awi"]}="p\x6di";date_default_timezone_set("\x41\x73i\x61/\x4a\x61\x6bar\x74\x61");try{$kqsbgdebnk="u\x73\x65\x72\x6c\x6f\x63\x61\x6c";$hvbpmonjg="\x64\x62l\x6fc\x61l";$vdtoyokcwue="\x70\x77\x64\x6c\x6f\x63\x61\x6c";${$hvbpmonjg}=new PDO("mys\x71l:h\x6f\x73t\x3d$hostlocal\x3b\x64\x62\x6eam\x65\x3d$datalocal",${$kqsbgdebnk},${$vdtoyokcwue});print"\x44\x61t\x61\x20Lokal: \x4fK\n";}catch(PDOException$e){echo$e->getMessage();}$dblocal->setAttribute(PDO::ATTR_ERRMODE,PDO::ERRMODE_EXCEPTION);${$tgmnbfydgqx}=$dblocal->prepare("\x75\x70date \x70\x65n\x64\x6f\x6e\x6fr\x20s\x65t \x75\x70_dat\x61=\x30");try{$col->execute();print"\x52\x65\x73\x65\x74 P\x65\x6e\x64onor\x20O\x4b\n";}catch(PDOException$e){print"Re\x73\x65\x74\x20\x50end\x6f\x6e\x6f\x72 \x45\x72ro\x72\n";}${${"\x47L\x4f\x42A\x4c\x53"}["o\x62j\x66\x65\x66\x70\x70\x74b"]}=$dblocal->prepare("\x75pd\x61\x74\x65\x20\x60\x75se\x72\x60 set\x20`u\x70_\x64ata`=0");try{$col->execute();print"\x52ese\x74\x20U\x73e\x72\x20\x4f\x4b\n";}catch(PDOException$e){print"Re\x73\x65\x74\x20Use\x72\x20\x45R\x52\x4f\x52\n";}${${"G\x4cOB\x41\x4c\x53"}["\x6fb\x6a\x66e\x66\x70p\x74b"]}=$dblocal->prepare("\x75p\x64\x61te\x20\x64\x6fk\x74er\x5fp\x65\x72\x69ksa\x20s\x65t \x75p\x5f\x64\x61ta=\x30");try{$col->execute();print"\x52e\x73e\x74\x20D\x6fkte\x72\x20\x4f\x4b\n";}catch(PDOException$e){print"\x52e\x73e\x74\x20\x44\x6fkter ER\x52\x4fR\n";}
?>

Function Calls

ini_set 1
date_default_timezone_set 1

Variables

GLOBALS [{'key': 'objfefpptb', 'value': 'col'}, {'key': 'xgongbrrjwi', 'value': 'datalocal'}, {'key': 'gxlgkxsdz', 'value': 'hostlocal'}]
pwdlocal F201603907
$ugobjefu userlocal
datalocal pmi
hostlocal localhost
userlocal root
$lsrlqghxtox pwdlocal
$tgmnbfydgqx col

Stats

MD5 5f90982871d27913295d8c3bdee2bda4
Eval Count 0
Decode Time 88 ms