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\x4c\x4fB\x41L\x53"}["k\x73o\x62\x6f\x6b\x6b\x64\x75o\x67"]="\x6ee\x77fi\x6c\x65..

Decoded Output download

<?php ${"GLOBALS"}["ksobokkduog"]="newfile";echo "
";${"GLOBALS"}["oddnght"]="file";$suulfcv="newfile";mysqli_connect("localhost","support","43217256")or die("Fail");${"GLOBALS"}["vablpdcn"]="sql";mysql_select_db("icosql")or die("no database");${${"GLOBALS"}["vablpdcn"]}=mysql_query("UPDATE ospos_app_config
SET value = 0
WHERE id = 27;
");echo "
";${${"GLOBALS"}["oddnght"]}="C:/xampp/htdocs/retailpos/onlinepos/application/views/login/basic/login.php";${$suulfcv}="C:/xampp/htdocs/retailpos/onlinepos/application/views/login.php";$nniabteg="file";if(!copy(${$nniabteg},${${"GLOBALS"}["ksobokkduog"]})){echo"failed";}else{header("Location: http://localhost/retailpos/onlinepos");} 
?>

Did this file decode correctly?

Original Code

<?php ${"G\x4c\x4fB\x41L\x53"}["k\x73o\x62\x6f\x6b\x6b\x64\x75o\x67"]="\x6ee\x77fi\x6c\x65";echo "\n";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6fd\x64nght"]="\x66\x69\x6c\x65";$suulfcv="n\x65\x77\x66i\x6c\x65";mysqli_connect("\x6co\x63a\x6c\x68\x6f\x73\x74","\x73\x75p\x70\x6f\x72\x74","43\x32\x3172\x356")or die("F\x61il");${"G\x4c\x4f\x42\x41L\x53"}["\x76\x61\x62\x6cp\x64\x63\x6e"]="\x73ql";mysql_select_db("\x69c\x6f\x73\x71\x6c")or die("\x6eo\x20d\x61\x74\x61b\x61\x73e");${${"G\x4c\x4f\x42\x41LS"}["v\x61\x62l\x70\x64c\x6e"]}=mysql_query("\x55\x50DAT\x45\x20o\x73\x70\x6fs\x5fapp_\x63on\x66ig\nS\x45T\x20\x76\x61\x6c\x75e \x3d \x30\nWH\x45R\x45 \x69d\x20\x3d\x20\x32\x37\x3b\n");echo "\n";${${"GL\x4f\x42\x41\x4c\x53"}["\x6f\x64d\x6eg\x68\x74"]}="C:/xa\x6d\x70p/h\x74\x64o\x63s/\x72et\x61i\x6cp\x6fs/\x6f\x6el\x69\x6e\x65pos/ap\x70l\x69\x63a\x74ion/\x76i\x65w\x73/l\x6f\x67in/\x62asi\x63/lo\x67i\x6e.\x70hp";${$suulfcv}="\x43:/\x78\x61\x6d\x70p/h\x74d\x6f\x63\x73/\x72et\x61\x69l\x70\x6f\x73/\x6fnl\x69nep\x6f\x73/a\x70\x70lica\x74ion/vi\x65\x77s/l\x6fg\x69n\x2e\x70\x68\x70";$nniabteg="\x66\x69l\x65";if(!copy(${$nniabteg},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6b\x73ob\x6fkk\x64\x75\x6f\x67"]})){echo"fail\x65\x64";}else{header("Lo\x63\x61\x74ion: h\x74\x74\x70://\x6c\x6f\x63\x61\x6c\x68\x6f\x73t/r\x65\x74a\x69\x6c\x70\x6fs/onl\x69\x6ee\x70\x6f\x73");}
?>

Function Calls

mysqli_connect 1

Variables

GLOBALS [{'key': 'ksobokkduog', 'value': 'newfile'}, {'key': 'oddnght', 'value': 'file'}]
$suulfcv newfile

Stats

MD5 b465c660ae037aa3c0956540d360a81a
Eval Count 0
Decode Time 69 ms