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 namespace Drupal\rest_api_authentication\Routing; use Drupal\Core\Routing\Ro..

Decoded Output download

<?php 
 
 
namespace Drupal
est_api_authentication\Routing; 
 
use Drupal\Core\Routing\RouteSubscriberBase; 
use Symfony\Component\Routing\Route; 
use Symfony\Component\Routing\RouteCollection; 
class RouteSubscriber extends RouteSubscriberBase 
{ 
    protected function alterRoutes(RouteCollection $NB) 
    { 
        $HY = $NB->get("user.login.http"); 
        $HY->addOptions(["_auth" => ["rest_api_authentication"]]); 
    } 
    private function restLoginRount(Route $L4) 
    { 
        $H7 = $L4->getPath(); 
        return strpos($H7, "/user/login?_format="); 
    } 
} 
 ?>

Did this file decode correctly?

Original Code

<?php


namespace Drupal\rest_api_authentication\Routing;

use Drupal\Core\Routing\RouteSubscriberBase;
use Symfony\Component\Routing\Route;
use Symfony\Component\Routing\RouteCollection;
class RouteSubscriber extends RouteSubscriberBase
{
    protected function alterRoutes(RouteCollection $NB)
    {
        $HY = $NB->get("\165\x73\x65\x72\56\154\x6f\147\x69\x6e\x2e\150\x74\x74\160");
        $HY->addOptions(["\137\x61\x75\164\x68" => ["\x72\145\163\164\x5f\141\160\151\137\141\165\x74\x68\145\156\x74\151\143\x61\x74\x69\157\156"]]);
    }
    private function restLoginRount(Route $L4)
    {
        $H7 = $L4->getPath();
        return strpos($H7, "\57\165\163\145\162\57\154\157\x67\x69\x6e\77\x5f\146\x6f\x72\x6d\141\x74\75");
    }
}

Function Calls

None

Variables

None

Stats

MD5 611966827c186505678fd948faf2a6d6
Eval Count 0
Decode Time 45 ms