!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023
aarch64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/share/nginx/html/phpbb3/install6/update/new/includes/acm/   drwxrwxr-x
Free 83.36 GB of 96.73 GB (86.18%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     acm_memcache.php (2.16 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
*
* @package acm
* @version $Id$
* @copyright (c) 2005, 2009 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
    exit;
}

// Include the abstract base
if (!class_exists('acm_memory'))
{
    require(
"{$phpbb_root_path}includes/acm/acm_memory.$phpEx");
}

if (!
defined('PHPBB_ACM_MEMCACHE_PORT'))
{
    
define('PHPBB_ACM_MEMCACHE_PORT'11211);
}

if (!
defined('PHPBB_ACM_MEMCACHE_COMPRESS'))
{
    
define('PHPBB_ACM_MEMCACHE_COMPRESS'false);
}

if (!
defined('PHPBB_ACM_MEMCACHE_HOST'))
{
    
define('PHPBB_ACM_MEMCACHE_HOST''localhost');
}

/**
* ACM for Memcached
* @package acm
*/
class acm extends acm_memory
{
    var 
$extension 'memcache';

    var 
$memcache;
    var 
$flags 0;

    function 
acm()
    {
        
// Call the parent constructor
        
parent::acm_memory();

        
$this->memcache = new Memcache;
        
$this->memcache->connect(PHPBB_ACM_MEMCACHE_HOSTPHPBB_ACM_MEMCACHE_PORT);
        
$this->flags = (PHPBB_ACM_MEMCACHE_COMPRESS) ? MEMCACHE_COMPRESSED 0;
    }

    
/**
    * Unload the cache resources
    *
    * @return void
    */
    
function unload()
    {
        
parent::unload();

        
$this->memcache->close();
    }

    
/**
    * Purge cache data
    *
    * @return void
    */
    
function purge()
    {
        
$this->memcache->flush();

        
parent::purge();
    }

    
/**
    * Fetch an item from the cache
    *
    * @access protected
    * @param string $var Cache key
    * @return mixed Cached data
    */
    
function _read($var)
    {
        return 
$this->memcache->get($this->key_prefix $var);
    }

    
/**
    * Store data in the cache
    *
    * @access protected
    * @param string $var Cache key
    * @param mixed $data Data to store
    * @param int $ttl Time-to-live of cached data
    * @return bool True if the operation succeeded
    */
    
function _write($var$data$ttl 2592000)
    {
        if (!
$this->memcache->replace($this->key_prefix $var$data$this->flags$ttl))
        {
            return 
$this->memcache->set($this->key_prefix $var$data$this->flags$ttl);
        }
        return 
true;
    }

    
/**
    * Remove an item from the cache
    *
    * @access protected
    * @param string $var Cache key
    * @return bool True if the operation succeeded
    */
    
function _delete($var)
    {
        return 
$this->memcache->delete($this->key_prefix $var);
    }
}

?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by HackingTool | HackingTool | Generation time: 0.0046 ]--