!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/lib/rest/http/   drwxr-xr-x
Free 13.35 GB of 61.93 GB (21.56%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

namespace rest\http;

/**
 * Un request que saca las cosas de memoria en lugar del servidor.
 * Utilizado para testeo
 */
class request_memoria extends request
{

    protected 
$union;
    protected 
$body;

    public 
$headers;
    public 
$get;
    public 
$post;
    public 
$method;
    public 
$url;


    public function 
__construct($method$url$get$post$headers)
    {
        
$this->method $method;
        
$this->headers $headers;
        
$this->url $url;
        
$this->get $get;
        
$this->post $post;
    }


    public function 
get_method()
    {
        return 
$this->method;
    }


    public function 
get($key null$default null)
    {
        return 
$this->get_valor_o_default($this->get$key$default);
    }

    public function 
post($key null$default null)
    {
        return 
$this->get_valor_o_default($_POST$key$default);
    }

    function 
get_body_json()
    {
        return 
$this->post;
    }

    public function 
headers($key null$default null)
    {
        return 
$this->get_valor_o_default($this->headers$key$default);
    }

    public function 
get_body()
    {
        return 
$this->post;
    }

    public function 
get_host()
    {
        return 
'testeo';
    }

    public function 
get_puerto()
    {
        return 
80;
    }

    public function 
get_esquema()
    {
        return 
'https';
    }

    public function 
get_url()
    {
        return 
$this->url;
    }

    public function 
get_request_uri()
    {
        return 
$this->url;
    }
}

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