Last active
April 11, 2017 16:54
-
-
Save nolim1t/345c1e824347194681f0 to your computer and use it in GitHub Desktop.
Curl or SSH Bouncing (ssh config ProxyComand)
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
# CURL using SOCKS | |
curl -v --socks5-hostname 127.0.0.1:9150 "http://gqjsnjzfwc5vbfhi.onion" |
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
# Get to a SSH box through the Tor network | |
ProxyCommand ssh username@sshhostwithtoronit 'nc -x localhost:9050 %h %p %r' | |
# Connect to a SSH box through TorBrowser's SOCKS5 proxy | |
ProxyCommand /usr/bin/nc -x localhost:9150 %h %p |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment