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

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/home/h33678/data/www/it-man.ztu.edu.ua/src/vendor/laravel/framework/src/Illuminate/Cache/   drwxr-xr-x
Free 116.5 GB of 200.55 GB (58.09%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

namespace Illuminate\Cache;

use 
Memcached;
use 
RuntimeException;

class 
MemcachedConnector
{
    
/**
     * Create a new Memcached connection.
     *
     * @param  array  $servers
     * @return \Memcached
     *
     * @throws \RuntimeException
     */
    
public function connect(array $servers)
    {
        
$memcached $this->getMemcached();

        
// For each server in the array, we'll just extract the configuration and add
        // the server to the Memcached connection. Once we have added all of these
        // servers we'll verify the connection is successful and return it back.
        
foreach ($servers as $server) {
            
$memcached->addServer(
                
$server['host'], $server['port'], $server['weight']
            );
        }

        
$memcachedStatus $memcached->getVersion();

        if (! 
is_array($memcachedStatus)) {
            throw new 
RuntimeException('No Memcached servers added.');
        }

        if (
in_array('255.255.255'$memcachedStatus) && count(array_unique($memcachedStatus)) === 1) {
            throw new 
RuntimeException('Could not establish Memcached connection.');
        }

        return 
$memcached;
    }

    
/**
     * Get a new Memcached instance.
     *
     * @return \Memcached
     */
    
protected function getMemcached()
    {
        return new 
Memcached;
    }
}

:: 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 PinoyWH1Z | C99Shell Github | Generation time: 0.011 ]--