!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/apex_tdfonline/php/3ros/guzzle/guzzle/guzzle/src/Guzzle/Http/   drwxr-xr-x
Free 13.95 GB of 61.93 GB (22.53%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

namespace Guzzle\Http;

use 
Guzzle\Http\Client;
use 
Guzzle\Http\ClientInterface;
use 
Guzzle\Stream\StreamRequestFactoryInterface;
use 
Guzzle\Stream\PhpStreamRequestFactory;

/**
 * Simplified interface to Guzzle that does not require a class to be instantiated
 */
final class StaticClient
{
    
/** @var Client Guzzle client */
    
private static $client;

    
/**
     * Mount the client to a simpler class name for a specific client
     *
     * @param string          $className Class name to use to mount
     * @param ClientInterface $client    Client used to send requests
     */
    
public static function mount($className 'Guzzle'ClientInterface $client null)
    {
        
class_alias(__CLASS__$className);
        if (
$client) {
            
self::$client $client;
        }
    }

    
/**
     * @param  string $method  HTTP request method (GET, POST, HEAD, DELETE, PUT, etc)
     * @param  string $url     URL of the request
     * @param  array  $options Options to use with the request. See: Guzzle\Http\Message\RequestFactory::applyOptions()
     * @return \Guzzle\Http\Message\Response|\Guzzle\Stream\Stream
     */
    
public static function request($method$url$options = array())
    {
        
// @codeCoverageIgnoreStart
        
if (!self::$client) {
            
self::$client = new Client();
        }
        
// @codeCoverageIgnoreEnd

        
$request self::$client->createRequest($method$urlnullnull$options);

        if (isset(
$options['stream'])) {
            if (
$options['stream'] instanceof StreamRequestFactoryInterface) {
                return 
$options['stream']->fromRequest($request);
            } elseif (
$options['stream'] == true) {
                
$streamFactory = new PhpStreamRequestFactory();
                return 
$streamFactory->fromRequest($request);
            }
        }

        return 
$request->send();
    }

    
/**
     * Send a GET request
     *
     * @param string $url     URL of the request
     * @param array  $options Array of request options
     *
     * @return \Guzzle\Http\Message\Response
     * @see Guzzle::request for a list of available options
     */
    
public static function get($url$options = array())
    {
        return 
self::request('GET'$url$options);
    }

    
/**
     * Send a HEAD request
     *
     * @param string $url     URL of the request
     * @param array  $options Array of request options
     *
     * @return \Guzzle\Http\Message\Response
     * @see Guzzle::request for a list of available options
     */
    
public static function head($url$options = array())
    {
        return 
self::request('HEAD'$url$options);
    }

    
/**
     * Send a DELETE request
     *
     * @param string $url     URL of the request
     * @param array  $options Array of request options
     *
     * @return \Guzzle\Http\Message\Response
     * @see Guzzle::request for a list of available options
     */
    
public static function delete($url$options = array())
    {
        return 
self::request('DELETE'$url$options);
    }

    
/**
     * Send a POST request
     *
     * @param string $url     URL of the request
     * @param array  $options Array of request options
     *
     * @return \Guzzle\Http\Message\Response
     * @see Guzzle::request for a list of available options
     */
    
public static function post($url$options = array())
    {
        return 
self::request('POST'$url$options);
    }

    
/**
     * Send a PUT request
     *
     * @param string $url     URL of the request
     * @param array  $options Array of request options
     *
     * @return \Guzzle\Http\Message\Response
     * @see Guzzle::request for a list of available options
     */
    
public static function put($url$options = array())
    {
        return 
self::request('PUT'$url$options);
    }

    
/**
     * Send a PATCH request
     *
     * @param string $url     URL of the request
     * @param array  $options Array of request options
     *
     * @return \Guzzle\Http\Message\Response
     * @see Guzzle::request for a list of available options
     */
    
public static function patch($url$options = array())
    {
        return 
self::request('PATCH'$url$options);
    }

    
/**
     * Send an OPTIONS request
     *
     * @param string $url     URL of the request
     * @param array  $options Array of request options
     *
     * @return \Guzzle\Http\Message\Response
     * @see Guzzle::request for a list of available options
     */
    
public static function options($url$options = array())
    {
        return 
self::request('OPTIONS'$url$options);
    }
}

:: 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 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.8116 ]--