!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/ecom1.picotech.app/public_html_ecom1/app/Exceptions/   drwxr-xr-x
Free 27.01 GB of 117.98 GB (22.9%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     Handler.php (2.65 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace App\Exceptions;

use 
App\Traits\ApiResponse;
use 
Illuminate\Auth\AuthenticationException;
use 
Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use 
Illuminate\Validation\ValidationException;
use 
Symfony\Component\HttpKernel\Exception\{
    
HttpExceptionMethodNotAllowedHttpExceptionNotFoundHttpException
};
use 
Throwable;

class 
Handler extends ExceptionHandler
{
    use 
ApiResponse;
    
/**
     * A list of the exception types that are not reported.
     *
     * @var array
     */
    
protected $dontReport = [
        
//
    
];

    
/**
     * A list of the inputs that are never flashed for validation exceptions.
     *
     * @var array
     */
    
protected $dontFlash = [
        
'current_password',
        
'password',
        
'password_confirmation',
    ];

    
/**
     * Register the exception handling callbacks for the application.
     *
     * @return void
     */
    
public function register()
    {
        
$this->reportable(function (Throwable $e) {
            
//
        
});

        
$this->renderable(function (NotFoundHttpException $e$request) {
            if (
$request->is('api/*')) {
                return 
$this->notFoundResponse([], __('Page Not Found.'));
            }
        });

        
$this->renderable(function (MethodNotAllowedHttpException $e$request) {
            if (
$request->is('api/*')) {
                return 
$this->methodNotAllowedResponse();
            }
        });

        
$this->renderable(function (AuthenticationException $exception$request) {
            if (
$request->is('api/*')) {
                return 
$this->unauthorizedResponse();
            }
        });

        
$this->renderable(function (ValidationException $exception$request) {
            if (
$request->is('api/*')) {
                return 
$this->unprocessableResponse($exception->errors());
            }
        });
        
        
$this->renderable(function (HttpException $exception$request) {
            if (
$request->is('api/*')) {
                return 
$this->serviceUnavailableResponse();
            }
        });

        
$this->renderable(function (\Illuminate\Http\Exceptions\PostTooLargeException $exception$request ) {
            if (! 
$request->is('api/*')) {
                
\Session::flash('fail'__('Your file is too large.'));

                return 
redirect()->back();
            }

            return 
$this->unprocessableResponse();
        });

        
$this->renderable(function (\Laravel\Socialite\Two\InvalidStateException $exception$request) {
            return 
redirect()->route('site.index');
        });
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0037 ]--