Skip to content

Commit 1f73608

Browse files
committed
Merge branch 'PHP-7.0' into PHP-7.1
2 parents e8af216 + d88ef8d commit 1f73608

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

ext/soap/tests/bug71610.phpt

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
--TEST--
22
SOAP Bug #71610 - Type Confusion Vulnerability - SOAP / make_http_soap_request()
33
--SKIPIF--
4-
<?php require_once('skipif.inc'); ?>
4+
<?php
5+
require_once('skipif.inc');
6+
if (getenv("SKIP_ONLINE_TESTS")) die("skip online test");
7+
?>
58
--FILE--
69
<?php
7-
$exploit = unserialize('O:10:"SoapClient":3:{s:3:"uri";s:1:"a";s:8:"location";s:19:"http://testuri.org/";s:8:"_cookies";a:1:{s:8:"manhluat";a:3:{i:0;s:0:"";i:1;N;i:2;N;}}}}');
10+
$exploit = unserialize('O:10:"SoapClient":3:{s:3:"uri";s:1:"a";s:8:"location";s:19:"http://example.org/";s:8:"_cookies";a:1:{s:8:"manhluat";a:3:{i:0;s:0:"";i:1;N;i:2;N;}}}}');
811
try {
912
$exploit->blahblah();
1013
} catch(SoapFault $e) {

0 commit comments

Comments
 (0)