ma6174 / libsocks5connect

Preloaded socks5 proxy written in cgo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

libsocks5connect

Build Status

install

git clone https://github.com/ma6174/libsocks5connect.git && cd libsocks5connect && make

config

$ cat proxy.conf
export socks5_proxy=127.0.0.1:7070,localhost:1080
export not_proxy=127.0.0.0/8,192.168.1.0/24
export proxy_timeout_ms=1000
export proxy_no_log=false
export libsocks5connect=./libsocks5connect.so

use

./proxy.sh -f proxy.conf python2 -c 'import urllib2;print(urllib2.urlopen("http://google.com").read())'

About

Preloaded socks5 proxy written in cgo

License:MIT License


Languages

Language:Go 91.8%Language:Makefile 4.9%Language:Shell 3.3%