Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am samraymer on github.
  • I am samraymer (https://keybase.io/samraymer) on keybase.
  • I have a public key ASCYF-g-NGdXuneEr-zff2ZD8sxSTnruaykrdLJ1WwvZbgo

To claim this, I am signing this object:

@SamRaymer
SamRaymer / FireMiddleFinger.scpt
Created January 8, 2011 03:23
Opens a new SSH connection and tunnels your traffic through it. For OS X. Uses Apple's Terminal. Thanks/sorry to Jon Gales, Jacob Rus.
--Set these constants!
--Change username to the username on the server you want to use
set userName to "uwnetid"
--Change myHost to a host you have SSH access to if you don't have uw access
set myHost to "dante.u.washington.edu"
--This is kind of the universal default socks proxy port,
-- but feel free to change it.
set socksPort to 8080
-- `menu_click`, by Jacob Rus, September 2006
@SamRaymer
SamRaymer / FireMiddleFingerITerm.scpt
Created January 3, 2011 19:42
Made mostly in response to FireSheep but mostly just a good idea when on non-WPA wi-fi. Opens a new SSH connection and tunnels your traffic through it. For OS X. Requires iTerm. You should really have it anyway. Thanks/sorry to Jon Gales (www.jongales.c
set myHost to "a host you have ssh access to"
set userName to "your username on said host"
set socksPort to 8080
tell application "iTerm"
activate
set openProxy to false
repeat with curTerm in terminals
repeat with curSesh in curTerm's sessions
if curSesh's name is "FireMiddleFinger" then