<?xml version="1.0"?>
<!DOCTYPE root [
<!ENTITY attack SYSTEM "config/config.ini">
<!ENTITY ent SYSTEM "entities/ent.txt">
]>
<xml>
nice try but no
OK ENTITY
</xml>
Output for 7.4.33
Warning: DOMDocument::loadXML(): Failure to process entity attack in Entity, line: 6 in /in/fpedv on line 33
Warning: DOMDocument::loadXML(): Entity 'attack' not defined in Entity, line: 6 in /in/fpedv on line 33
Warning: DOMDocument::loadXML(): Failure to process entity ent in Entity, line: 7 in /in/fpedv on line 33
Warning: DOMDocument::loadXML(): Entity 'ent' not defined in Entity, line: 7 in /in/fpedv on line 33
Fatal error: Uncaught Error: Call to undefined function str_starts_with() in /in/fpedv:20
Stack trace:
#0 [internal function]: {closure}(NULL, '/config/config....', Array)
#1 /in/fpedv(33): DOMDocument->loadXML('<!DOCTYPE root ...', 2)
#2 {main}
thrown in /in/fpedv on line 20
Process exited with code 255.