!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/dokan/script/vendor/bacon/bacon-qr-code/src/Common/   drwxrwxrwx
Free 13.31 GB of 57.97 GB (22.96%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     Mode.php (2 KB)      -rwxrwxrwx
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 ::
 
[ ok ]

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

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

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