Skip to content

Instantly share code, notes, and snippets.

@rupa
rupa / proxy_s5.py
Last active August 29, 2015 14:07 — forked from yaonie/proxy_s5.py
forking version
#!/usr/bin/python
# Filename s5.py
# Python Dynamic Socks5 Proxy
# Usage: python s5.py 1080
# Background Run: nohup python s5.py 1080 &
# Email: ringzero@557.im
import socket, sys, select, SocketServer, struct, time
SocketServer.TCPServer.allow_reuse_address = True
@rupa
rupa / every
Created August 18, 2014 15:33 — forked from sorbits/every
#!/usr/bin/env bash
progname=$(basename $0)
version="1.0 (2014-08-17)"
step=2
function create_hash {
openssl dgst -sha1 -binary <<< "$1" | xxd -p
}
@rupa
rupa / hack.sh
Created April 7, 2012 01:46 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#