Mr.Combet Webshell
Your IP :
216.73.216.136
Server IP :
103.233.58.157
Server :
Windows NT WIN-4PGF72KEHKB 10.0 build 17763 (Windows Server 2016) AMD64
Server Software :
Microsoft-IIS/10.0
PHP Version :
7.3.25
Add File :
Submit
Add Directory :
Submit
Dir :
C:
/
Windows
/
System32
/
srm
/
xslt
/
View File Name :
ShadowReport_TXT.xsl
<?xml version="1.0" ?> <!-- Copyright (C) 2004, Microsoft Corporation --> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:global="urn:srm-extension-obj" > <!-- XSLT parameters --> <xsl:param name="IsActiveHTML"/> <xsl:param name="RelativeFilesPath"/> <!-- Global variables --> <xsl:variable name="MaxItems" select="100"/> <xsl:variable name="DarkBorderColor" select="'gray'"/> <xsl:variable name="LightBorderColor" select="'#c0c0c0'"/> <xsl:variable name="TableHeaderBackground" select="'#ededed'"/> <xsl:variable name="ReportTitle" select="/StorageReport/ReportHeader/@ReportTitle"/> <xsl:variable name="THeadRightBorderStyle" select="'BORDER-RIGHT-COLOR: #c0c0c0; BORDER-RIGHT-STYLE: solid;'"/> <xsl:variable name="THeadBottomBorderStyle" select="'BORDER-BOTTOM-COLOR: #c0c0c0; BORDER-BOTTOM-STYLE: solid;'"/> <xsl:variable name="TBodyRightBorderStyle" select="'BORDER-RIGHT-COLOR: lightgrey; BORDER-RIGHT-STYLE: solid;'"/> <xsl:variable name="TBodyBottomBorderStyle" select="'BORDER-BOTTOM-COLOR: lightgrey; BORDER-BOTTOM-STYLE: solid;'"/> <xsl:variable name="Space" select="' '" /> <!-- Global functions --> <xsl:include href="functions.xsl"/> <!-- Main entry point --> <xsl:template match="StorageReport"> <HTML> <STYLE> BODY {font-family:tahoma;font-size:9pt} TD {font-size:8pt} TABLE {border-collapse:collapse} </STYLE> <BODY id="BodyID"> <p> <xsl:apply-templates select="ReportHeader"/> </p> <p> <xsl:apply-templates select="ShadowReport"/> </p> </BODY> </HTML> </xsl:template> <xsl:template match="ShadowReport"> <xsl:apply-templates select="ShadowCopyStorageAssociation" /> <xsl:apply-templates select="ShadowCopySummaryStatistics" /> <xsl:apply-templates select="StatisticsForShadowCopies" /> </xsl:template> <xsl:template match="ShadowCopyStorageAssociation"> <B>Shadow Copy Storage Association</B> <P /> <xsl:apply-templates select="DiffAreaSummary" /> <TABLE border="1"> <xsl:call-template name="DiffAreaSummaryHeader" /> <xsl:apply-templates select="VolumeStorageAssociation" /> </TABLE> </xsl:template> <!-- We start a table here which is ended in VolumeStorageAssociation --> <xsl:template match="DiffAreaSummary"> <B>Number of Shadow Storage volumes:</B> <xsl:value-of select="$Space" /> <xsl:value-of select="$Space" /> <xsl:value-of select="@NumberOfDiffAreas" /> <xsl:value-of select="$Space" /> <xsl:value-of select="$Space" /> <B>Allocated Shadow Storage space (MB):</B> <xsl:value-of select="$Space" /> <xsl:value-of select="$Space" /> <xsl:value-of select="@AllocatedDiffAreaSpaceMb" /> </xsl:template> <xsl:template name="DiffAreaSummaryHeader"> <THEAD bgColor="{$TableHeaderBackground}" style="font:bold" linesPerItem="2"> <TR> <TD align="center"> Source Volume </TD> <TD align="center"> Shadow Storage Volume </TD> <TD align="center"> Maximum Shadow Storage (MB) </TD> <TD align="center"> Allocated Shadow Storage (MB) </TD> <TD align="center"> Number of Shadow Copies </TD> <TD align="center"> Oldest Shadow Copy </TD> <TD align="center"> Most recent Shadow Copy </TD> <TD align="center"> Number of share lookups </TD> </TR> </THEAD> </xsl:template> <xsl:template match="VolumeStorageAssociation"> <TR> <TD align="center"> <xsl:value-of select="@SourceVolume" /> </TD> <TD align="center"> <xsl:value-of select="@StorageVolume" /> </TD> <TD align="center"> <xsl:value-of select="@MaximumDiffAreaSpaceMb" /> </TD> <TD align="center"> <xsl:value-of select="@AllocatedDiffAreaSpaceMb" /> </TD> <TD align="center"> <xsl:value-of select="@NumberOfShadowCopies" /> </TD> <TD align="center"> <xsl:value-of select="@OldestShadowCopy" /> </TD> <TD align="center"> <xsl:value-of select="@MostRecentShadowCopy" /> </TD> <TD align="center"> <xsl:value-of select="@NumberOfLookups" /> </TD> </TR> </xsl:template> <xsl:template match="ShadowCopySummaryStatistics"> <P /> <P /> <B>Summary statistics:</B> <TABLE Border="1"> <xsl:call-template name="ShadowCopySummaryStatisticsHeader" /> <xsl:apply-templates select="VolumeDiffAreaSummary" /> </TABLE> </xsl:template> <xsl:template name="ShadowCopySummaryStatisticsHeader"> <THEAD bgColor="{$TableHeaderBackground}" style="font:bold" linesPerItem="2"> <TR> <TD align="center"> Shadow Volume </TD> <TD align="center"> Number of Shadow Storage volumes </TD> <TD align="center"> Number of Shadow Copies </TD> <TD align="center"> Total Volume Size (MB) </TD> <TD align="center"> Maximum Shadow Storage (MB) </TD> <TD align="center"> Allocated Shadow Storage (MB) </TD> <TD align="center"> Total Free Space (MB) </TD> </TR> </THEAD> </xsl:template> <xsl:template match="VolumeDiffAreaSummary"> <TR> <TD align="center"> <xsl:value-of select="@StorageVolume" /> </TD> <TD align="center"> <xsl:value-of select="@NumberOfDiffAreas" /> </TD> <TD align="center"> <xsl:value-of select="@NumberOfShadowCopies" /> </TD> <TD align="center"> <xsl:value-of select="@TotalVolumeSizeMb" /> </TD> <TD align="center"> <xsl:value-of select="@MaximumDiffAreaSpaceMb" /> </TD> <TD align="center"> <xsl:value-of select="@SpaceCurrentlyAllocatedToDiffAreasMb" /> </TD> <TD align="center"> <xsl:value-of select="@TotalFreeSpaceMb" /> </TD> </TR> </xsl:template> <xsl:template match="StatisticsForShadowCopies"> <P /> <P /> <B>Statistics for Shadow Copies</B> <P /> <P /> <B>Number of shadow copies:</B>  <xsl:value-of select="@NumberOfShadowCopies" /> <TABLE BORDER="1"> <THEAD bgColor="{$TableHeaderBackground}" style="font:bold" linesPerItem="2"> <TR> <TD align="center"> Shadow Copy Volume Name </TD> <TD align="center"> Source Volume </TD> <TD align="center"> Shadow Storage Volume </TD> <TD align="center"> Created Timestamp </TD> <TD align="center"> Usage </TD> <TD align="center"> Type </TD> <TD align="center"> Provider </TD> </TR> </THEAD> <xsl:apply-templates select="ShadowCopyStatistics" /> </TABLE> </xsl:template> <xsl:template match="ShadowCopyStatistics"> <TR> <TD align="center"> <xsl:value-of select="@ShadowCopyVolumeName" /> </TD> <TD align="center"> <xsl:value-of select="@SourceVolume" /> </TD> <TD align="center"> <xsl:value-of select="@DiffAreaStorageVolume" /> </TD> <TD align="center"> <xsl:value-of select="@CreatedTimeStamp" /> </TD> <TD align="center"> <xsl:value-of select="@Usage" /> </TD> <TD align="center"> <xsl:value-of select="@Type" /> </TD> <TD align="center"> <xsl:value-of select="@Provider" /> </TD> </TR> </xsl:template> <!-- Header rendering --> <xsl:template match="ReportHeader"> <a name="Top-report"/> <p> <TABLE border="1" borderColor="{$LightBorderColor}" cellPadding="5" style="margin:3mm;width=700"> <TR> <TD> </TD> <TD> <span style='font-size:18.0pt;font-family:Tahoma'> <b> <xsl:value-of select="@ReportTitle"/> </b> </span> <span style='font-size:8.0pt;font-family:Tahoma'> Generated at <xsl:value-of select="@GeneratedAt"/> </span> </TD> </TR> <TR> <TD style="font:bold">Report Description: </TD> <TD> <xsl:value-of select="@Description"/> </TD> </TR> <TR> <TD style="font:bold" >Machine: </TD> <TD> <xsl:value-of select="@MachineName"/> </TD> </TR> <TR> <TD style="font:bold">Report Folders:</TD> <TD> <xsl:apply-templates select="ReportNamespaces"/> </TD> </TR> <xsl:if test="ReportFilters/@FileNamePattern"> <TR> <TD style="font:bold">Filename pattern: </TD> <TD> <xsl:apply-templates select="ReportFilters/@FileNamePattern"/> </TD> </TR> </xsl:if> <TR> <TD style="font:bold">Parameters: </TD> <TD> <xsl:apply-templates select="ReportFilters"/> </TD> </TR> </TABLE> </p> <xsl:if test="@FilesCount > @MaxDisplayItems"> <p> <img src="{$RelativeFilesPath}Warning.jpg"/> <FONT color="red"> <xsl:value-of select="@MaxExceededWarning"/> </FONT> </p> </xsl:if> <p> <a name="TOC-report"/> <a href="#TOC-report"> <p> <font style='font-size:14.0pt'> <xsl:value-of select="@ReportTitle"/> Table of Contents </font> </p> </a> <BLOCKQUOTE dir="ltr" style="MARGIN-RIGHT: 0px"> <a href="#ReportStatistics">Report statistics</a> </BLOCKQUOTE> </p> </xsl:template> <xsl:template match="ReportNamespaces"> <xsl:apply-templates select="Namespace"/> </xsl:template> <xsl:template match="Namespace"> '<xsl:value-of select="."/>'<xsl:if test="position()!=last()">, </xsl:if> </xsl:template> <xsl:template match="Filter"> <xsl:value-of select="@Name"/> <xsl:text> </xsl:text> <xsl:value-of select="@Value"/> <xsl:if test="position()!=last()">, </xsl:if> </xsl:template> </xsl:stylesheet>