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

21 lines
No EOL
615 B
XML

<?xml version='1.0' ?>
<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="StandardTransforms.xsl"/>
<xsl:output method="text"/>
<xsl:template match="Throttle">
<xsl:choose>
<xsl:when test=". = 0">
<xsl:text>Network throttling DISABLED&#x0D;&#x0A;</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>Network throttling set to </xsl:text>
<xsl:value-of select="format-number(., '###,###,###')"/>
<xsl:text> bytes per second&#x0D;&#x0A;</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:transform>