Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
public static function fetchUserFromUsername($pV) { $xO = Constants::TABLE_F..
Decoded Output download
<? public static function fetchUserFromUsername($pV)
{
$xO = Constants::TABLE_FE_USERS;
$ja = GeneralUtility::makeInstance(ConnectionPool::class)->getQueryBuilderForTable($xO);
$ja->getRestrictions()->removeAll()->add(GeneralUtility::makeInstance(DeletedRestriction::class));
$user = $ja->select("*")->from($xO)->where($ja->expr()->eq("username", $ja->createNamedParameter($pV)))->execute()->fetch();
if (!(null == $user)) {
goto xD;
}
self::log_php_error("user not found: ");
return false;
xD:
self::log_php_error("User found");
return $user;
} ?>
Did this file decode correctly?
Original Code
public static function fetchUserFromUsername($pV)
{
$xO = Constants::TABLE_FE_USERS;
$ja = GeneralUtility::makeInstance(ConnectionPool::class)->getQueryBuilderForTable($xO);
$ja->getRestrictions()->removeAll()->add(GeneralUtility::makeInstance(DeletedRestriction::class));
$user = $ja->select("\52")->from($xO)->where($ja->expr()->eq("\165\x73\145\x72\x6e\x61\155\x65", $ja->createNamedParameter($pV)))->execute()->fetch();
if (!(null == $user)) {
goto xD;
}
self::log_php_error("\x75\163\145\x72\x20\156\157\x74\x20\x66\157\x75\156\144\x3a\40");
return false;
xD:
self::log_php_error("\125\163\x65\x72\40\x66\157\165\x6e\144");
return $user;
}
Function Calls
None |
Stats
MD5 | 4201b7aa84e0bf66d87ea37ea5bec403 |
Eval Count | 0 |
Decode Time | 44 ms |