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 function checkForRedirection(RequestEvent $gM) { $current_user = \Dru..
Decoded Output download
<? public function checkForRedirection(RequestEvent $gM)
{
$current_user = \Drupal::currentUser();
$Tg = \Drupal::request();
$Q3 = $Tg->getUri();
$o7 = \Drupal::request()->getPathInfo();
$e3 = strpos($Q3, "?");
$Mg = $e3 !== false ? substr($Q3, 0, $e3) : $Q3;
$r0 = Url::fromRoute("entity.user.edit_form", ["user" => $
$z3 = \Drupal::config("miniorange_oauth_client.set\
if (!($z3 == 1 && $current_user->isAuthenticated() && !in_array("administrator", $current_us
goto dj;
}
if (!(!Utilities::check_for_redirect_to_user_profile_form($current_user->getEmail()) && $Q3 != $r0)) {
goto pr;
}
Utilities::redirect_to_profile_form($current_user->id());
pr:
dj:
$O9 = \Drupal::config("miniorange_oauth_client.set
$kb = DBQueries::get_all_applications_with_oauth_login_enabled();
$jI = in_array($O9, $kb) ? (new appValues($O9))->enable_login_with_oauth : 0;
$kV = \Drupal::config("miniorange_oauth_client.set\
$ic = \Drupal::config("miniorange_oauth_client.set
$Aw = \Drupal::config("miniorange_oauth_client.set\
$zm = strpos($Mg, "mo_callback") || strpos($Mg, "moLogin") || strpos($Mg, "
$wK = \Drupal::config("miniorange_oauth_client.set ?>
Did this file decode correctly?
Original Code
public function checkForRedirection(RequestEvent $gM)
{
$current_user = \Drupal::currentUser();
$Tg = \Drupal::request();
$Q3 = $Tg->getUri();
$o7 = \Drupal::request()->getPathInfo();
$e3 = strpos($Q3, "\x3f");
$Mg = $e3 !== false ? substr($Q3, 0, $e3) : $Q3;
$r0 = Url::fromRoute("\145\x6e\164\x69\x74\171\56\x75\163\x65\x72\56\x65\x64\151\164\137\x66\157\162\155", ["\165\163\x65\162" => $
$z3 = \Drupal::config("\155\151\x6e\x69\157\x72\x61\156\147\145\137\157\141\x75\x74\150\137\143\154\x69\145\156\x74\56\x73\x65\164\
if (!($z3 == 1 && $current_user->isAuthenticated() && !in_array("\x61\144\155\x69\x6e\x69\163\164\x72\x61\x74\157\162", $current_us
goto dj;
}
if (!(!Utilities::check_for_redirect_to_user_profile_form($current_user->getEmail()) && $Q3 != $r0)) {
goto pr;
}
Utilities::redirect_to_profile_form($current_user->id());
pr:
dj:
$O9 = \Drupal::config("\x6d\x69\156\x69\x6f\162\141\156\147\145\137\157\x61\165\x74\150\137\x63\154\151\x65\x6e\x74\x2e\x73\145\x74
$kb = DBQueries::get_all_applications_with_oauth_login_enabled();
$jI = in_array($O9, $kb) ? (new appValues($O9))->enable_login_with_oauth : 0;
$kV = \Drupal::config("\x6d\x69\156\151\x6f\162\x61\x6e\147\x65\x5f\157\x61\x75\164\x68\137\143\x6c\151\x65\x6e\164\56\x73\x65\164\
$ic = \Drupal::config("\155\151\x6e\x69\157\162\141\x6e\147\145\137\x6f\141\165\x74\150\137\x63\x6c\x69\x65\x6e\x74\x2e\x73\x65\x74
$Aw = \Drupal::config("\x6d\x69\x6e\x69\x6f\x72\141\156\147\145\137\157\141\x75\x74\150\x5f\x63\154\151\x65\x6e\164\56\x73\x65\x74\
$zm = strpos($Mg, "\x6d\157\137\x63\141\x6c\x6c\x62\141\x63\153") || strpos($Mg, "\155\x6f\114\157\x67\x69\x6e") || strpos($Mg, "\1
$wK = \Drupal::config("\155\x69\156\x69\x6f\x72\x61\156\x67\145\x5f\x6f\x61\165\x74\x68\137\x63\154\151\145\x6e\164\x2e\x73\x65\x74
Function Calls
None |
Stats
MD5 | 1ad1bd499bc83ad6970b0563b692aeeb |
Eval Count | 0 |
Decode Time | 62 ms |