!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/laravel-crm/vendor/mpdf/mpdf/src/Gif/   drwxrwxrwx
Free 12.97 GB of 57.97 GB (22.38%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Mpdf\Gif;

/**
 * GIF Util - (C) 2003 Yamasoft (S/C)
 *
 * All Rights Reserved
 *
 * This file can be freely copied, distributed, modified, updated by anyone under the only
 * condition to leave the original address (Yamasoft, http://www.yamasoft.com) and this header.
 *
 * @link http://www.yamasoft.com
 */
class FileHeader
{

    var 
$m_lpVer;

    var 
$m_nWidth;

    var 
$m_nHeight;

    var 
$m_bGlobalClr;

    var 
$m_nColorRes;

    var 
$m_bSorted;

    var 
$m_nTableSize;

    var 
$m_nBgColor;

    var 
$m_nPixelRatio;

    
/**
     * @var \Mpdf\Gif\ColorTable
     */
    
var $m_colorTable;

    public function 
__construct()
    {
        unset(
$this->m_lpVer);
        unset(
$this->m_nWidth);
        unset(
$this->m_nHeight);
        unset(
$this->m_bGlobalClr);
        unset(
$this->m_nColorRes);
        unset(
$this->m_bSorted);
        unset(
$this->m_nTableSize);
        unset(
$this->m_nBgColor);
        unset(
$this->m_nPixelRatio);
        unset(
$this->m_colorTable);
    }

    function 
load($lpData, &$hdrLen)
    {
        
$hdrLen 0;

        
$this->m_lpVer substr($lpData06);
        if ((
$this->m_lpVer <> "GIF87a") && ($this->m_lpVer <> "GIF89a")) {
            return 
false;
        }

        
$this->m_nWidth $this->w2i(substr($lpData62));
        
$this->m_nHeight $this->w2i(substr($lpData82));
        if (!
$this->m_nWidth || !$this->m_nHeight) {
            return 
false;
        }

        
$b ord(substr($lpData101));
        
$this->m_bGlobalClr = ($b 0x80) ? true false;
        
$this->m_nColorRes = ($b 0x70) >> 4;
        
$this->m_bSorted = ($b 0x08) ? true false;
        
$this->m_nTableSize << ($b 0x07);
        
$this->m_nBgColor ord(substr($lpData111));
        
$this->m_nPixelRatio ord(substr($lpData121));
        
$hdrLen 13;

        if (
$this->m_bGlobalClr) {
            
$this->m_colorTable = new ColorTable();
            if (!
$this->m_colorTable->load(substr($lpData$hdrLen), $this->m_nTableSize)) {
                return 
false;
            }
            
$hdrLen += $this->m_nTableSize;
        }

        return 
true;
    }

    function 
w2i($str)
    {
        return 
ord(substr($str01)) + (ord(substr($str11)) << 8);
    }
}

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