!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/shindig/external/Zend/Http/Client/Adapter/   drwxr-xr-x
Free 13.84 GB of 61.93 GB (22.34%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Test.php (5 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Zend Framework
 *
 * LICENSE
 *
 * This source file is subject to the new BSD license that is bundled
 * with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://framework.zend.com/license/new-bsd
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@zend.com so we can send you a copy immediately.
 *
 * @category   Zend
 * @package    Zend_Http
 * @subpackage Client_Adapter
 * @version    $Id: Test.php 8064 2008-02-16 10:58:39Z thomas $
 * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
 * @license    http://framework.zend.com/license/new-bsd     New BSD License
 */

require_once 'external/Zend/Uri/Http.php';
require_once 
'external/Zend/Http/Response.php';
require_once 
'external/Zend/Http/Client/Adapter/Interface.php';

/**
 * A testing-purposes adapter.
 *
 * Should be used to test all components that rely on Zend_Http_Client,
 * without actually performing an HTTP request. You should instantiate this
 * object manually, and then set it as the client's adapter. Then, you can
 * set the expected response using the setResponse() method.
 *
 * @category   Zend
 * @package    Zend_Http
 * @subpackage Client_Adapter
 * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
 * @license    http://framework.zend.com/license/new-bsd     New BSD License
 */
class Zend_Http_Client_Adapter_Test implements Zend_Http_Client_Adapter_Interface {
  
/**
   * Parameters array
   *
   * @var array
   */
  
protected $config = array();
  
  
/**
   * Buffer of responses to be returned by the read() method.  Can be
   * set using setResponse() and addResponse().
   *
   * @var array
   */
  
protected $responses = array("HTTP/1.1 400 Bad Request\r\n\r\n");
  
  
/**
   * Current position in the response buffer
   *
   * @var integer
   */
  
protected $responseIndex 0;

  
/**
   * Adapter constructor, currently empty. Config is set using setConfig()
   *
   */
  
public function __construct() {}

  
/**
   * Set the configuration array for the adapter
   *
   * @param array $config
   */
  
public function setConfig($config = array()) {
    if (! 
is_array($config)) {
      require_once 
'external/Zend/Http/Client/Adapter/Exception.php';
      throw new 
Zend_Http_Client_Adapter_Exception('$config expects an array, ' gettype($config) . ' recieved.');
    }
    
    foreach (
$config as $k => $v) {
      
$this->config[strtolower($k)] = $v;
    }
  }

  
/**
   * Connect to the remote server
   *
   * @param string  $host
   * @param int     $port
   * @param boolean $secure
   * @param int     $timeout
   */
  
public function connect($host$port 80$secure false) {}

  
/**
   * Send request to the remote server
   *
   * @param string        $method
   * @param Zend_Uri_Http $uri
   * @param string        $http_ver
   * @param array         $headers
   * @param string        $body
   * @return string Request as string
   */
  
public function write($method$uri$http_ver '1.1'$headers = array(), $body '') {
    
$host $uri->getHost();
    
$host = (strtolower($uri->getScheme()) == 'https' 'sslv2://' $host $host);
    
    
// Build request headers
    
$path $uri->getPath();
    if (
$uri->getQuery()) $path .= '?' $uri->getQuery();
    
$request "{$method} {$path} HTTP/{$http_ver}\r\n";
    foreach (
$headers as $k => $v) {
      if (
is_string($k)) $v ucfirst($k) . ": $v";
      
$request .= "$v\r\n";
    }
    
    
// Add the request body
    
$request .= "\r\n" $body;
    
    
// Do nothing - just return the request as string
    

    
return $request;
  }

  
/**
   * Return the response set in $this->setResponse()
   *
   * @return string
   */
  
public function read() {
    if (
$this->responseIndex >= count($this->responses)) {
      
$this->responseIndex 0;
    }
    return 
$this->responses[$this->responseIndex ++];
  }

  
/**
   * Close the connection (dummy)
   *
   */
  
public function close() {}

  
/**
   * Set the HTTP response(s) to be returned by this adapter
   *
   * @param Zend_Http_Response|array|string $response
   */
  
public function setResponse($response) {
    if (
$response instanceof Zend_Http_Response) {
      
$response $response->asString();
    }
    
    
$this->responses = (array)$response;
    
$this->responseIndex 0;
  }

  
/**
   * Add another response to the response buffer.
   *
   * @param string $response
   */
  
public function addResponse($response) {
    
$this->responses[] = $response;
  }

  
/**
   * Sets the position of the response buffer.  Selects which
   * response will be returned on the next call to read().
   *
   * @param integer $index
   */
  
public function setResponseIndex($index) {
    if (
$index || $index >= count($this->responses)) {
      require_once 
'external/Zend/Http/Client/Adapter/Exception.php';
      throw new 
Zend_Http_Client_Adapter_Exception('Index out of range of response buffer size');
    }
    
$this->responseIndex $index;
  }
}

:: 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.599 ]--