Last active
March 1, 2016 16:37
-
-
Save jaderfeijo/17c7c30391a30e44828c to your computer and use it in GitHub Desktop.
trinity
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
| ssh $1@$2 "osascript -e 'tell application \"Terminal\" to activate' -e 'tell application \"Terminal\" to do script \"nc -l 1234\"' >> /dev/null" | |
| sleep 3 | |
| telnet $2 1234 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment