!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/classify.picotech.app/public_html/vendor/sentry/sentry/src/   drwxr-xr-x
Free 29.11 GB of 117.98 GB (24.68%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

declare(strict_types=1);

namespace 
Sentry;

/**
 * This class represents hints on how to process an event.
 */
final class EventHint
{
    
/**
     * The original exception to add to the event.
     *
     * @var \Throwable|null
     */
    
public $exception;

    
/**
     * An object describing the mechanism of the original exception.
     *
     * @var ExceptionMechanism|null
     */
    
public $mechanism;

    
/**
     * The stacktrace to set on the event.
     *
     * @var Stacktrace|null
     */
    
public $stacktrace;

    
/**
     * Any extra data that might be needed to process the event.
     *
     * @var array<string, mixed>
     */
    
public $extra = [];

    
/**
     * Create a EventHint instance from an array of values.
     *
     * @psalm-param array{
     *     exception?: \Throwable|null,
     *     mechanism?: ExceptionMechanism|null,
     *     stacktrace?: Stacktrace|null,
     *     extra?: array<string, mixed>
     * } $hintData
     */
    
public static function fromArray(array $hintData): self
    
{
        
$hint = new self();
        
$exception $hintData['exception'] ?? null;
        
$mechanism $hintData['mechanism'] ?? null;
        
$stacktrace $hintData['stacktrace'] ?? null;
        
$extra $hintData['extra'] ?? [];

        if (
null !== $exception && !$exception instanceof \Throwable) {
            throw new 
\InvalidArgumentException(sprintf('The value of the "exception" field must be an instance of a class implementing the "%s" interface. Got: "%s".'\Throwable::class, get_debug_type($exception)));
        }

        if (
null !== $mechanism && !$mechanism instanceof ExceptionMechanism) {
            throw new 
\InvalidArgumentException(sprintf('The value of the "mechanism" field must be an instance of the "%s" class. Got: "%s".'ExceptionMechanism::class, get_debug_type($mechanism)));
        }

        if (
null !== $stacktrace && !$stacktrace instanceof Stacktrace) {
            throw new 
\InvalidArgumentException(sprintf('The value of the "stacktrace" field must be an instance of the "%s" class. Got: "%s".'Stacktrace::class, get_debug_type($stacktrace)));
        }

        if (!
\is_array($extra)) {
            throw new 
\InvalidArgumentException(sprintf('The value of the "extra" field must be an array. Got: "%s".'get_debug_type($extra)));
        }

        
$hint->exception $exception;
        
$hint->mechanism $mechanism;
        
$hint->stacktrace $stacktrace;
        
$hint->extra $extra;

        return 
$hint;
    }
}

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