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 checkPermission() { $Auth = \Auth::guard("\155\..
Decoded Output download
<? public static function checkPermission()
{
$Auth = \Auth::guard("manager");
if (!$Auth->guest()) {
$user = $Auth->user();
}
$isFounder = self::isFounder($user->uid);
header("location:" . $domain);
header("location:" . $domain);
$domain = Request()->getSchemeAndHttpHost();
$uniacid = Request()->route("uniacid");
$permission = UniAccountUsers::where("uniacid", $uniacid)->where("uid", $user->uid)->first();
if (!(!$isFounder && !$permission)) {
return;
}
} ?>
Did this file decode correctly?
Original Code
public static function checkPermission()
{
$Auth = \Auth::guard("\155\x61\x6e\x61\147\x65\162");
if (!$Auth->guest()) {
$user = $Auth->user();
}
$isFounder = self::isFounder($user->uid);
header("\154\157\x63\141\x74\151\x6f\x6e\72" . $domain);
header("\154\157\143\141\x74\x69\157\156\x3a" . $domain);
$domain = Request()->getSchemeAndHttpHost();
$uniacid = Request()->route("\x75\156\x69\x61\143\x69\x64");
$permission = UniAccountUsers::where("\x75\156\151\x61\143\151\x64", $uniacid)->where("\x75\x69\144", $user->uid)->first();
if (!(!$isFounder && !$permission)) {
return;
}
}
Function Calls
| None |
Stats
| MD5 | 7eafbdfe3d8dec97c2c2517e09eb0e0c |
| Eval Count | 0 |
| Decode Time | 82 ms |