/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
soap
/
tests
/
File Upload :
llllll
Current File: //usr/local/lsws/phpbuild/php-8.0.7/ext/soap/tests/bug70388.phpt
--TEST-- Bug #70388 (SOAP serialize_function_call() type confusion / RCE) --SKIPIF-- <?php require_once('skipif.inc'); ?> --FILE-- <?php $dummy = unserialize('O:10:"SoapClient":3:{s:3:"uri";s:1:"X";s:8:"location";s:22:"http://localhost/a.xml";s:17:"__default_headers";a:1:{i:1;s:1337:"'.str_repeat("X", 1337).'";}}'); try { var_dump($dummy->notexisting()); } catch(Exception $e) { var_dump($e->getMessage()); var_dump(get_class($e)); } ?> --EXPECTF-- string(%d) "%s" string(9) "SoapFault"
Copyright ©2k19 -
Hexid
|
Tex7ure