mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
Python: Rename to XmlParsing
To follow our style guide
This commit is contained in:
@@ -40,7 +40,7 @@ module XmlBomb {
|
||||
*/
|
||||
class XmlParsingWithEntityResolution extends Sink {
|
||||
XmlParsingWithEntityResolution() {
|
||||
exists(XML::XMLParsing parsing, XML::XMLParsingVulnerabilityKind kind |
|
||||
exists(XML::XmlParsing parsing, XML::XMLParsingVulnerabilityKind kind |
|
||||
(kind.isBillionLaughs() or kind.isQuadraticBlowup()) and
|
||||
parsing.vulnerableTo(kind) and
|
||||
this = parsing.getAnInput()
|
||||
|
||||
@@ -40,7 +40,7 @@ module Xxe {
|
||||
*/
|
||||
class XmlParsingWithExternalEntityResolution extends Sink {
|
||||
XmlParsingWithExternalEntityResolution() {
|
||||
exists(XML::XMLParsing parsing, XML::XMLParsingVulnerabilityKind kind |
|
||||
exists(XML::XmlParsing parsing, XML::XMLParsingVulnerabilityKind kind |
|
||||
kind.isXxe() and
|
||||
parsing.vulnerableTo(kind) and
|
||||
this = parsing.getAnInput()
|
||||
|
||||
Reference in New Issue
Block a user