Skip to main content

Module xml_xxe

Module xml_xxe 

Source
Expand description

XML/XXE structural matchers ported from guard_core/handlers/_suspatterns_xml_xxe.py (spec 4.0.2).

Functionsยง

public_external_dtd_source
xml_internal_entity_finditer
_xml_internal_entity_finditer: DOCTYPE position, the first >/[ boundary must be [, then an <!ENTITY inside the bracket section.
xml_system_finditer
_xml_system_finditer: from each <!ENTITY/<!DOCTYPE to the first > after it, requiring SYSTEM inside; overlapping spans are skipped.
xml_xxe_public_external_dtd_finditer
_xml_xxe_public_external_dtd_finditer.