!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/lampp/phpmyadmin/libraries/classes/Dbal/   drwxr-xr-x
Free 15.58 GB of 61.93 GB (25.16%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

declare(strict_types=1);

namespace 
PhpMyAdmin\Dbal;

use 
Stringable;

use function 
in_array;
use function 
is_numeric;
use function 
is_string;

/**
 * @see https://mariadb.com/kb/en/show-warnings/
 * @see https://dev.mysql.com/doc/refman/en/show-warnings.html
 *
 * @psalm-immutable
 */
final class Warning implements Stringable
{
    
/**
     * @var string
     * @psalm-var 'Note'|'Warning'|'Error'|'?'
     */
    
public $level;

    
/**
     * @var int
     * @psalm-var 0|positive-int
     */
    
public $code;

    
/** @var string */
    
public $message;

    private function 
__construct(string $levelint $codestring $message)
    {
        
$this->level in_array($level, ['Note''Warning''Error'], true) ? $level '?';
        
$this->code $code >= $code 0;
        
$this->message $message;
    }

    
/**
     * @param mixed[] $row
     */
    
public static function fromArray(array $row): self
    
{
        
$level '';
        
$code 0;
        
$message '';

        if (isset(
$row['Level']) && is_string($row['Level'])) {
            
$level $row['Level'];
        }

        if (isset(
$row['Code']) && is_numeric($row['Code'])) {
            
$code = (int) $row['Code'];
        }

        if (isset(
$row['Message']) && is_string($row['Message'])) {
            
$message $row['Message'];
        }

        return new 
self($level$code$message);
    }

    
/**
     * @psalm-return non-empty-string
     */
    
public function __toString(): string
    
{
        return 
$this->level ': #' $this->code . ($this->message !== '' ' ' $this->message '');
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.2926 ]--