Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
perl5 /
RPC /
XML /
[ HOME SHELL ]
Name
Size
Permission
Action
Parser
[ DIR ]
drwxr-xr-x
Client.pm
31.26
KB
-rw-r--r--
Parser.pm
9.82
KB
-rw-r--r--
ParserFactory.pm
8.6
KB
-rw-r--r--
Procedure.pm
41.71
KB
-rw-r--r--
Server.pm
94.56
KB
-rw-r--r--
identity.xpl
858
B
-rw-r--r--
introspection.xpl
3.19
KB
-rw-r--r--
listMethods.xpl
1.66
KB
-rw-r--r--
methodHelp.xpl
1.85
KB
-rw-r--r--
methodSignature.xpl
1.99
KB
-rw-r--r--
multicall.xpl
3.25
KB
-rw-r--r--
status.xpl
4.46
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : multicall.xpl
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE methoddef SYSTEM "rpc-method.dtd"> <!-- Generated automatically by make_method 1.15 Any changes made here will be lost. --> <methoddef> <name>system.multicall</name> <version>1.0</version> <signature>array array</signature> <help> Execute a set of one or more procedure calls on the server as a single request. The only supported call signature takes an ARRAY of STRUCT values. Each STRUCT should have two members: methodName The name of the method/routine to invoke as a STRING params An ARRAY of the parameters to pass to the routine If the "params" member is absent, a call with no parameters is assumed. The ARRAY of parameters will be expanded prior to the call, otherwise all the called routines would have to have a signature allowing for a single ARRAY input. Thus, any routine taking such an input will have to nest it within an outer containing ARRAY. The return value is an ARRAY of the return values from the calls, or a fault response if one of the calls failed. Because the specification does not allow for faults as first-class datatypes, all other results are discarded upon an error, and any remaining calls will not get executed. </help> <code language="perl"> <![CDATA[ #!/usr/bin/perl ############################################################################### # # Sub Name: multicall # # Description: Execute multiple method calls in a single request # # Arguments: NAME IN/OUT TYPE DESCRIPTION # $srv in ref Server object instance # $list in ref List of struct's with the call # data within. # # Globals: None. # # Environment: None. # # Returns: Success: listref # Failure: fault object # ############################################################################### sub multicall { use strict; my $srv = shift; my $list = shift; my ($call, $subname, $params, $result, @results); my $name = $srv->{method_name}; for $call (@$list) { unless (ref($call) eq 'HASH') { return RPC::XML::fault->new(200, "$name: One of the array elements " . 'passed in was not a struct'); } return RPC::XML::fault->new(310, "$name: Request was missing required " . '"methodName" member') unless ($subname = $call->{methodName}); return RPC::XML::fault->new(310, "$name: Recursive calling of $name not " . 'allowed') if ($subname eq $name); $params = $call->{params} || []; return RPC::XML::fault->new(200, "$name: Request's value for \"params\" " . 'was not an array') unless (ref($params) eq 'ARRAY'); $result = $srv->dispatch([ $subname, @$params ]); return $result if $result->is_fault; push @results, $result->value; } \@results; } __END__ ]]></code> </methoddef>
Close