Created
May 5, 2010 11:22
-
-
Save dermidgen/390663 to your computer and use it in GitHub Desktop.
netcat-proxy-command
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
#!/bin/sh | |
################ | |
# Copyright Brian Hatch, 2004 | |
# http://www.hackinglinuxexposed.com/articles/20040830.html | |
################ | |
bouncehost=$1 | |
target=$2 | |
ssh $bouncehost nc -w 1 $target 22 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment