1
0
mirror of https://github.com/minimaxir/big-list-of-naughty-strings.git synced 2025-09-09 05:30:44 +02:00

Added XXE injection string.

This commit is contained in:
Rickard Schoultz
2015-08-12 08:35:20 +02:00
parent 7ef8595322
commit e97c828fa3
2 changed files with 8 additions and 1 deletions

View File

@@ -169,6 +169,7 @@
"Kernel.exec(\"ls -al /\")",
"Kernel.exit(1)",
"%x('ls -al /')",
"<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?><!DOCTYPE foo [ <!ELEMENT foo ANY ><!ENTITY xxe SYSTEM \"file:///etc/passwd\" >]><foo>&xxe;</foo>",
"$HOME",
"$ENV{'HOME'}",
"%d",
@@ -196,4 +197,4 @@
"Roses are \u001b[0;31mred\u001b[0m, violets are \u001b[0;34mblue. Hope you enjoy terminal hue",
"But now...\u001b[20Cfor my greatest trick...\u001b[8m",
"Powerلُلُصّبُلُلصّبُررً ॣ ॣh ॣ ॣ冗"
]
]

View File

@@ -267,6 +267,12 @@ Kernel.exec("ls -al /")
Kernel.exit(1)
%x('ls -al /')
# XXE Injection (XML)
#
# String which can reveal system files when parsed by a badly configured XML parser
<?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE foo [ <!ELEMENT foo ANY ><!ENTITY xxe SYSTEM "file:///etc/passwd" >]><foo>&xxe;</foo>
# Unwanted Interpolation
#
# Strings which can be accidentally expanded into different strings if evaluated in the wrong context, e.g. used as a printf format string or via Perl or shell eval. Might expose sensitive data from the program doing the interpolation, or might just represent the wrong string.