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

Software: Apache. PHP/7.3.33 

uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC
2023 x86_64
 

uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) 

Safe-mode: OFF (not secure)

/var/softaculous/sitepad/editor/site-data/plugins/kkart-pro/includes/libraries/   drwxr-xr-x
Free 290.87 GB of 429.69 GB (67.69%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     wp-async-request.php (2.66 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * WP Async Request
 *
 * @package WP-Background-Processing
 */

defined'ABSPATH' ) || exit;

/**
 * Abstract WP_Async_Request class.
 */
abstract class WP_Async_Request {

    
/**
     * Prefix
     *
     * (default value: 'wp')
     *
     * @var string
     * @access protected
     */
    
protected $prefix 'wp';

    
/**
     * Action
     *
     * (default value: 'async_request')
     *
     * @var string
     * @access protected
     */
    
protected $action 'async_request';

    
/**
     * Identifier
     *
     * @var mixed
     * @access protected
     */
    
protected $identifier;

    
/**
     * Data
     *
     * (default value: array())
     *
     * @var array
     * @access protected
     */
    
protected $data = array();

    
/**
     * Initiate new async request
     */
    
public function __construct() {
        
$this->identifier $this->prefix '_' $this->action;

        
add_action'wp_ajax_' $this->identifier, array( $this'maybe_handle' ) );
        
add_action'wp_ajax_nopriv_' $this->identifier, array( $this'maybe_handle' ) );
    }

    
/**
     * Set data used during the request
     *
     * @param array $data Data.
     *
     * @return $this
     */
    
public function data$data ) {
        
$this->data $data;

        return 
$this;
    }

    
/**
     * Dispatch the async request
     *
     * @return array|WP_Error
     */
    
public function dispatch() {
        
$url  add_query_arg$this->get_query_args(), $this->get_query_url() );
        
$args $this->get_post_args();

        return 
wp_remote_postesc_url_raw$url ), $args );
    }

    
/**
     * Get query args
     *
     * @return array
     */
    
protected function get_query_args() {
        if ( 
property_exists$this'query_args' ) ) {
            return 
$this->query_args;
        }

        return array(
            
'action' => $this->identifier,
            
'nonce'  => wp_create_nonce$this->identifier ),
        );
    }

    
/**
     * Get query URL
     *
     * @return string
     */
    
protected function get_query_url() {
        if ( 
property_exists$this'query_url' ) ) {
            return 
$this->query_url;
        }

        return 
admin_url'admin-ajax.php' );
    }

    
/**
     * Get post args
     *
     * @return array
     */
    
protected function get_post_args() {
        if ( 
property_exists$this'post_args' ) ) {
            return 
$this->post_args;
        }

        return array(
            
'timeout'   => 0.01,
            
'blocking'  => false,
            
'body'      => $this->data,
            
'cookies'   => $_COOKIE,
            
'sslverify' => apply_filters'https_local_ssl_verify'false ),
        );
    }

    
/**
     * Maybe handle
     *
     * Check for correct nonce and pass to handler.
     */
    
public function maybe_handle() {
        
// Don't lock up other requests while processing
        
session_write_close();

        
check_ajax_referer$this->identifier'nonce' );

        
$this->handle();

        
wp_die();
    }

    
/**
     * Handle
     *
     * Override this method to perform any actions required
     * during the async request.
     */
    
abstract protected function handle();

}

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