403Webshell
Server IP : 172.67.178.83  /  Your IP : 216.73.217.141
Web Server : Apache
System : Linux hosting01.arsenalhost.com 4.18.0-425.13.1.lve.el8.x86_64 #1 SMP Mon Feb 27 15:23:24 EST 2023 x86_64
User : corbizre ( 1013)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/corbizre/gotofindhomes.com3/components/System/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/corbizre/gotofindhomes.com3/components/System/Session.php
<?php
/**
 * Documentation
 * @author
 * @category
 * @package
 * @subpackage
 * @copyright  Copyright (c) 2005-2009 ITCrimea Ukraine Inc. (http://www.itcrimea.com)
 * @license
 */
class System_Session extends System
{
	/**
     * Documentation
     *
     * @var mixed
     */
	protected static $_instance = null;

    /**
    * Documentation
    * @author
    * @return mixed
    */
	function __construct()
	{
		parent::__construct();
	}

    /**
    * Documentation
    * @author
    * @return mixed
    */
    public function _init()
    {
        if (isset($this->_config->Directory)) {
            ini_set('session.save_path', Zend_Registry::get('AppFolder') . $this->_config->Directory);
        }
		if (isset($this->_config->MaxLifeTime)) {
            ini_set('session.gc_maxlifetime', $this->_config->MaxLifeTime);
		}
		if (isset($this->_config->CookiePath)) {
            ini_set('session.cookie_path', $this->_config->CookiePath);
		}
		
		if (isset($_GET['PHPSESSID'])){
            Zend_Session::setId($_GET['PHPSESSID']);
		}
    }

    /**
    * Documentation
    * @author
    * @return mixed
    */
    public function _run()
    {
        Zend_Session::start();
    }

    /**
    * Documentation
    * @author
    * @return mixed
    */
    public static function getInstance()
    {
        if (null === self::$_instance) {
            self::$_instance = new self();
        }
        return self::$_instance;
    }

    /**
    * Documentation
    * @author
    * @return mixed
    */
    public static function getParam($ParametrName, $DefaultValue = null)
    {
        return isset($_SESSION[$ParametrName]) ? $_SESSION[$ParametrName] : $DefaultValue;
    }

    /**
    * Documentation
    * @author
    * @return mixed
    */
    public static function setParam($ParametrName, $ParamValue)
    {
        $_SESSION[$ParametrName] = $ParamValue;
    }

    /**
    * Documentation
    * @author
    * @return mixed
    */
    public static function isSetParam($ParametrName)
    {
    	return isset($_SESSION[$ParametrName]);
    }
    
    /**
    * Documentation
    * @author keeper
    * @return mixed
    */
    public static function destroy()
    {
        session_destroy();
        session_start();
    }
    
}

Youez - 2016 - github.com/yon3zu
LinuXploit