Zend Framework
1.12
|
Static Public Member Functions | |
static | loadXmlErrorHandler ($errno, $errstr, $errfile, $errline) |
static | scan ($xml, DOMDocument $dom=null) |
Scan XML string for potential XXE and XEE attacks. | |
static | scanFile ($file, DOMDocument $dom=null) |
Scan XML file for potential XXE/XEE attacks. | |
static | isPhpFpm () |
Return true if PHP is running with PHP-FPM. | |
Public Attributes | |
const | ENTITY_DETECT = 'Detected use of ENTITY in XML, disabled to prevent XXE/XEE attacks' |
Static Protected Member Functions | |
static | heuristicScan ($xml) |
Heuristic scan to detect entity in XML. | |
|
staticprotected |
|
static |
Return true if PHP is running with PHP-FPM.
|
static |
integer | $errno | |
string | $errstr | |
string | $errfile | |
integer | $errline |
|
static |
Scan XML string for potential XXE and XEE attacks.
string | $xml | |
DomDocument | $dom |
Zend_Xml_Exception |
|
static |
Scan XML file for potential XXE/XEE attacks.
string | $file | |
DOMDocument | $dom |
Zend_Xml_Exception |
const ENTITY_DETECT = 'Detected use of ENTITY in XML, disabled to prevent XXE/XEE attacks' |