!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/3ros/wsf/wso2/DataServices/   drwxr-xr-x
Free 13.26 GB of 61.93 GB (21.41%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

require_once("wso2/DataServices/DSQueryProcessor.php");

/* the callback handler for the WSService service operations */
class DSProcessorHandler {
    private 
$args;
    
/**
     * @param array $args, argument passed by the user
     */
    
public function __construct($args) {
        
$this->args $args;
    }

    
/**
     * @param string $op_name, service opertion name
     * @param array $op_args, request message
     * @param returns the response
     */
    
public function __call($op_name$op_args) {
        
        
// extracting out the request message
        
$req_msg NULL;
        if(
array_key_exists(0$op_args)) {
            
$req_msg $op_args[0];
        }
        if(
$req_msg == NULL) {
            
DSUtils::error_log(__FILE____LINE__
                
"Configs are missing in the DataService constructor");
            throw new 
WSFault("Sender""Failed in reading the request message");
        }
        
$req_msg_str $req_msg->str;

        
// extracting out the config and operation from theuser args
        
$config $this->args[DS_CONFIG];
        
$operations $this->args[DS_OPERATIONS];

        
// extracting out the query information on current operation
        
if(array_key_exists($op_name$operations)) {
            
$operation_query $operations[$op_name];
        }
        else {
            
DSUtils::error_log(__FILE____LINE__
                
"current operation $op_name not in the user provided operations array");
            throw new 
WSFault("Sender""Operation $op_name not found");
        }

        
// create the database executor
        
$dbe = new DSDBExecutor($config);

        
// process the incomming message and operation query
        
$ds_proc = new DSQueryProcessor($dbe$operation_query);

        
/* call the DSQueryProccessor with the configrations + incomming message*/
        
$response $ds_proc->process_inmessage($req_msg_str$operation_query$dbe);

        return 
$response;
    }
}
?>

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