ヤミ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
/
deserialize
/
Viewing: struct_2.phpt
--TEST-- Deserialize typed struct (with int) --FILE-- <?php require_once dirname(__FILE__) . '/../test.utility.php'; $msg = '<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" 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"> <SOAP-ENV:Body> <m:test xmlns:m="http://soapinterop.org/"> <age xsi:type="xsd:int">45</age> <height xsi:type="xsd:float">5.9</height> <displacement xsi:type="xsd:int">-450</displacement> <color xsi:type="xsd:string">Blue</color> </m:test> </SOAP-ENV:Body> </SOAP-ENV:Envelope> '; $val = parseMessage($msg); var_dump($val); ?> --EXPECTF-- object(stdClass)%s4) { ["age"]=> %sint(45) ["height"]=> %sfloat(5.9) ["displacement"]=> %sint(-450) ["color"]=> %sstring(4) "Blue" }
Coded With 💗 by
0x6ick