shadowbrokers-exploits/windows/Resources/Dsz/Commands/Display/environment_display.xsl
2017-04-14 11:45:07 +02:00

26 lines
No EOL
701 B
XML

<?xml version='1.1' ?>
<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="include/StandardTransforms.xsl"/>
<xsl:template match="Environment">
<xsl:apply-templates select="Value"/>
</xsl:template>
<xsl:template match="Value">
<xsl:choose>
<xsl:when test="../@action = 'DELETE'">
<xsl:text>Deleted '</xsl:text>
<xsl:value-of select="@name"/>
<xsl:text>'</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="@name"/>
<xsl:text>=</xsl:text>
<xsl:value-of select="."/>
</xsl:otherwise>
</xsl:choose>
<xsl:call-template name="PrintReturn"/>
</xsl:template>
</xsl:transform>