!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)

/uploads/script/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls/Color/   drwxr-xr-x
Free 13.26 GB of 57.97 GB (22.87%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace PhpOffice\PhpSpreadsheet\Reader\Xls\Color;

class 
BIFF5
{
    protected static 
$map = [
        
0x08 => '000000',
        
0x09 => 'FFFFFF',
        
0x0A => 'FF0000',
        
0x0B => '00FF00',
        
0x0C => '0000FF',
        
0x0D => 'FFFF00',
        
0x0E => 'FF00FF',
        
0x0F => '00FFFF',
        
0x10 => '800000',
        
0x11 => '008000',
        
0x12 => '000080',
        
0x13 => '808000',
        
0x14 => '800080',
        
0x15 => '008080',
        
0x16 => 'C0C0C0',
        
0x17 => '808080',
        
0x18 => '8080FF',
        
0x19 => '802060',
        
0x1A => 'FFFFC0',
        
0x1B => 'A0E0F0',
        
0x1C => '600080',
        
0x1D => 'FF8080',
        
0x1E => '0080C0',
        
0x1F => 'C0C0FF',
        
0x20 => '000080',
        
0x21 => 'FF00FF',
        
0x22 => 'FFFF00',
        
0x23 => '00FFFF',
        
0x24 => '800080',
        
0x25 => '800000',
        
0x26 => '008080',
        
0x27 => '0000FF',
        
0x28 => '00CFFF',
        
0x29 => '69FFFF',
        
0x2A => 'E0FFE0',
        
0x2B => 'FFFF80',
        
0x2C => 'A6CAF0',
        
0x2D => 'DD9CB3',
        
0x2E => 'B38FEE',
        
0x2F => 'E3E3E3',
        
0x30 => '2A6FF9',
        
0x31 => '3FB8CD',
        
0x32 => '488436',
        
0x33 => '958C41',
        
0x34 => '8E5E42',
        
0x35 => 'A0627A',
        
0x36 => '624FAC',
        
0x37 => '969696',
        
0x38 => '1D2FBE',
        
0x39 => '286676',
        
0x3A => '004500',
        
0x3B => '453E01',
        
0x3C => '6A2813',
        
0x3D => '85396A',
        
0x3E => '4A3285',
        
0x3F => '424242',
    ];

    
/**
     * Map color array from BIFF5 built-in color index.
     *
     * @param int $color
     *
     * @return array
     */
    
public static function lookup($color)
    {
        if (isset(
self::$map[$color])) {
            return [
'rgb' => self::$map[$color]];
        }

        return [
'rgb' => '000000'];
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

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