mirror of
https://github.com/trimstray/the-book-of-secret-knowledge.git
synced 2024-12-19 18:06:14 +00:00
minor update
This commit is contained in:
parent
b68a2d51e7
commit
c8792783ec
@ -3235,6 +3235,11 @@ client> tar czvfp - /path/to/dir | nc 10.240.30.3 5000
|
|||||||
###### Launch remote shell
|
###### Launch remote shell
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
# 1)
|
||||||
|
server> nc -l 5000 -e /bin/bash
|
||||||
|
client> nc 10.240.30.3 5000
|
||||||
|
|
||||||
|
# 2)
|
||||||
server> rm -f /tmp/f; mkfifo /tmp/f
|
server> rm -f /tmp/f; mkfifo /tmp/f
|
||||||
server> cat /tmp/f | /bin/bash -i 2>&1 | nc -l 127.0.0.1 5000 > /tmp/f
|
server> cat /tmp/f | /bin/bash -i 2>&1 | nc -l 127.0.0.1 5000 > /tmp/f
|
||||||
client> nc 10.240.30.3 5000
|
client> nc 10.240.30.3 5000
|
||||||
|
Loading…
Reference in New Issue
Block a user