Skip to content

Commit 5083023

Browse files
committed
Python: Move XML parsing PoC
Since the folder where it used to live is now empty otherwise :O
1 parent 673220b commit 5083023

File tree

5 files changed

+3
-1
lines changed

5 files changed

+3
-1
lines changed

python/PoCs/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
A place to collect proof of concept for how certain vulnerabilities work.

python/ql/test/experimental/library-tests/frameworks/XML/poc/PoC.py renamed to python/PoCs/XmlParsing/PoC.py

File renamed without changes.

python/ql/test/experimental/library-tests/frameworks/XML/poc/flag renamed to python/PoCs/XmlParsing/flag

File renamed without changes.

python/ql/lib/semmle/python/Concepts.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,8 @@ module XML {
555555
* A kind of XML vulnerability.
556556
*
557557
* See overview of kinds at https://pypi.org/project/defusedxml/#python-xml-libraries
558+
*
559+
* See PoC at `python/PoCs/XmlParsing/PoC.py` for some tests of vulnerable XML parsing.
558560
*/
559561
class XMLParsingVulnerabilityKind extends string {
560562
XMLParsingVulnerabilityKind() {

python/ql/test/experimental/library-tests/frameworks/XML/poc/this-dir-is-not-extracted

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)