Skip to content

Instantly share code, notes, and snippets.

@cybiere
cybiere / socks_through_ssh.py
Created May 12, 2020 16:18
This is a basic python SOCK5 server which forwards the traffic through a SSH tunnel
#!/usr/bin/env python3
#This is https://github.com/rushter 's python socks server
#Tweaked by https://github.com/cybiere to forward to a SSH server
#via Fabric https://github.com/fabric/fabric
#to act as ssh -D
import logging
import select
import socket
import struct
@cybiere
cybiere / .Xresources
Last active April 30, 2017 18:25
Powerline Xresources with molokai theme
URxvt.font: xft:DejaVu Sans Mono for Powerline:size=12
URxvt.letterspace: -2
URxvt.scrollBar: false
URxvt.utf8: true
URxvt.locale: true
URxvt.keysym.S-Home : \033[1;2H
URxvt.keysym.S-End : \033[1;2F
URxvt.keysym.M-Up : \033[1;3A
URxvt.keysym.M-Down : \033[1;3B