Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.189.143.114
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
src /
Controller /
Delete
Unzip
Name
Size
Permission
Date
Action
.gitignore
0
B
-rw-rw-r--
2022-12-03 10:44
AdminController.php
705
B
-rw-rw-r--
2022-12-03 10:44
AnalyticsController.php
47.03
KB
-rw-rw-r--
2023-08-29 09:18
AuthController.php
2.14
KB
-rw-rw-r--
2022-12-03 10:44
CronController (copy).php
28.3
KB
-rw-rw-r--
2023-04-27 09:46
CronController.php
62.54
KB
-rw-rw-r--
2023-08-18 10:30
FirstRunController.php
28.3
KB
-rw-rw-r--
2023-05-18 07:53
HomeController.php
603
B
-rw-rw-r--
2022-12-24 11:33
RegistrationController.php
8.73
KB
-rw-rw-r--
2023-08-29 09:18
UsersController.php
2.63
KB
-rw-rw-r--
2022-12-03 10:44
Save
Rename
<?php namespace App\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Session\Session; use Symfony\Component\Routing\Annotation\Route; use Symfony\Component\Security\Csrf\CsrfTokenManagerInterface; use Symfony\Component\Security\Http\Authentication\AuthenticationUtils; class AuthController extends \FOS\UserBundle\Controller\SecurityController { private $authenticationUtils; private $tokenManager; public function __construct(AuthenticationUtils $authenticationUtils, CsrfTokenManagerInterface $tokenManager = null) { $this->authenticationUtils = $authenticationUtils; $this->tokenManager = $tokenManager; } /** * @Route("/login") */ public function loginAction(): Response { $request = new Request(); $session = new Session(); //$session = $request->getSession(); $referer = $request->headers->get('referer', null); if ($referer) { if (preg_match('/.*\/login$/', $referer, $matches)) { $session->set('login_referer', '/'); } else { $session->set('login_referer', $referer); } } $error = $this->authenticationUtils->getLastAuthenticationError(); $lastUsername = $this->authenticationUtils->getLastUsername(); $csrfToken = $this->tokenManager ? $this->tokenManager->getToken('authenticate')->getValue() : null; return $this->render('auth/login.html.twig', [ 'last_username' => $lastUsername, 'error' => $error, 'csrf_token' => $csrfToken, ]); //return parent::loginAction($request); } /** * @Route("/login_check") */ public function checkAction() { throw new \RuntimeException('You must configure the check path to be handled by the firewall using form_login in your security firewall configuration.'); } public function logoutAction() { throw new \RuntimeException('You must activate the logout in your security firewall configuration.'); } }