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

Signing you up...

Thank you for signing up!

PHP Decode

$whmcsAdmin = empty(trim($gateway_admin)) ? $backup_admin : empty(array_shift(mysql_fetch_..

Decoded Output download

<?  $whmcsAdmin = empty(trim($gateway_admin)) ? $backup_admin : empty(array_shift(mysql_fetch_array(mysql_query("SELECT username FROM tbladmins WHERE username = '{$gateway_admin}' LIMIT 1")))) ? $backup_admin : trim($GATEWAY["admin"]); ?>

Did this file decode correctly?

Original Code

$whmcsAdmin = empty(trim($gateway_admin)) ? $backup_admin : empty(array_shift(mysql_fetch_array(mysql_query("\123\105\114\105\103\x54\40\165\x73\x65\162\156\x61\x6d\145\40\x46\x52\117\x4d\40\x74\142\x6c\x61\144\x6d\151\156\x73\40\x57\x48\x45\x52\105\x20\x75\x73\145\x72\x6e\x61\155\x65\40\75\x20\47{$gateway_admin}\x27\40\114\x49\x4d\x49\124\x20\x31")))) ? $backup_admin : trim($GATEWAY["\x61\x64\x6d\151\x6e"]);

Function Calls

trim 1

Variables

None

Stats

MD5 30aa754506e397e0bfb69aa3f974f647
Eval Count 0
Decode Time 362 ms