!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache. PHP/5.6.40-67+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux hosting1.erectacloud.it 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC
2024 x86_64
 

uid=5229(web473) gid=5117(client172) groups=5117(client172),5002(sshusers) 

Safe-mode: OFF (not secure)

/var/www/clients/client172/web473/web/OLD_WP/wp-includes/   drwxr-xr-x
Free 183.04 GB of 490.84 GB (37.29%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     class-wp-http-requests-hooks.php (1.84 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * HTTP API: Requests hook bridge class
 *
 * @package WordPress
 * @subpackage HTTP
 * @since 4.7.0
 */

/**
 * Bridge to connect Requests internal hooks to WordPress actions.
 *
 * @package WordPress
 * @subpackage HTTP
 * @since 4.7.0
 */
class WP_HTTP_Requests_Hooks extends Requests_Hooks {
    
/**
     * Requested URL.
     *
     * @var string Requested URL.
     */
    
protected $url;

    
/**
     * WordPress WP_HTTP request data.
     *
     * @var array Request data in WP_Http format.
     */
    
protected $request = array();

    
/**
     * Constructor.
     *
     * @param string $url URL to request.
     * @param array $request Request data in WP_Http format.
     */
    
public function __construct$url$request ) {
        
$this->url $url;
        
$this->request $request;
    }

    
/**
     * Dispatch a Requests hook to a native WordPress action.
     *
     * @param string $hook Hook name.
     * @param array $parameters Parameters to pass to callbacks.
     * @return boolean True if hooks were run, false if nothing was hooked.
     */
    
public function dispatch$hook$parameters = array() ) {
        
$result parent::dispatch$hook$parameters );

        
// Handle back-compat actions
        
switch ( $hook ) {
            case 
'curl.before_send':
                
/** This action is documented in wp-includes/class-wp-http-curl.php */
                
do_action_ref_array'http_api_curl', array( &$parameters[0], $this->request$this->url ) );
                break;
        }

        
/**
         * Transforms a native Request hook to a WordPress actions.
         *
         * This action maps Requests internal hook to a native WordPress action.
         *
         * @see https://github.com/rmccue/Requests/blob/master/docs/hooks.md
         *
         * @param array $parameters Parameters from Requests internal hook.
         * @param array $request Request data in WP_Http format.
         * @param string $url URL to request.
         */
        
do_action_ref_array"requests-{$hook}"$parameters$this->request$this->url );

        return 
$result;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0082 ]--