Skip to content

Instantly share code, notes, and snippets.

@nolim1t
Last active April 11, 2017 16:54
Show Gist options
  • Save nolim1t/345c1e824347194681f0 to your computer and use it in GitHub Desktop.
Save nolim1t/345c1e824347194681f0 to your computer and use it in GitHub Desktop.
Curl or SSH Bouncing (ssh config ProxyComand)
# CURL using SOCKS
curl -v --socks5-hostname 127.0.0.1:9150 "http://gqjsnjzfwc5vbfhi.onion"
# 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