Skip to content

Instantly share code, notes, and snippets.

View rbroggi's full-sized avatar

Rodrigo Broggi rbroggi

View GitHub Profile
@ndsamuelson
ndsamuelson / README.md
Last active May 1, 2024 07:04
Tor Authentication via Control Port

Authentication to Tor via ControlPort

I'm using cookie authentication


Cookie authentication simply means that your credential is the content of a file in Tor's DataDirectory. You can learn information about Tor's method of authentication (including the cookie file's location) by calling PROTOCOLINFO.

@xtman
xtman / ssh-tunnel-start
Created September 6, 2013 17:11
A shell script to establish a ssh tunnel using ssh command.
#!/bin/sh
LOCAL_HOST="localhost"
LOCAL_PORT=""
GATEWAY_USER=""
GATEWAY_HOST=""
GATEWAY_PORT=22
TARGET_HOST=""