Skip to content

Instantly share code, notes, and snippets.

View dheera's full-sized avatar
👽
哈哈

Dheera Venkatraman dheera

👽
哈哈
View GitHub Profile
@UniIsland
UniIsland / SimpleHTTPServerWithUpload.py
Created August 14, 2012 04:01
Simple Python Http Server with Upload
#!/usr/bin/env python
"""Simple HTTP Server With Upload.
This module builds on BaseHTTPServer by implementing the standard GET
and HEAD requests in a fairly straightforward manner.
"""
@vitex
vitex / via-ssh.sh
Created October 14, 2011 16:06
A script that uses redsocks to build a system-wide OpenSSH SOCKS proxy.
#!/bin/sh
########################################################################
#
# Usage: via-ssh.sh [-v] [-d] [USER@]SERVER[:PORT]
#
# -v Provide verbose output.
# -d Send all UDP on the DNS port 53 to 127.0.0.1.
# USER User name to use for SSH; default is current user.
# SERVER Server to use for SSH.