zhouat / ctf

0 stars 0 forks source link

proxy #5

Closed zhouat closed 7 years ago

zhouat commented 7 years ago

[1] nohup sslocal -s 服务器地址 -p 服务器端口 -l 本地端端口 -k 密码 -m 加密方法 & [2] sudo apt-get install polipo [3] sudo vim /etc/polipo/config

socksParentProxy = "localhost:1080"
socksProxyType = socks5

[4] sudo service polipo stop & start

http_proxy=http://localhost:8123 curl ip.gs

export http_proxy=http://localhost:8123
curl ip.gs
. gitconfig 
[https]
proxy = socks5://127.0.0.1:1080
[http]
proxy = socks5://127.0.0.1:1080
du -sh directory
zhouat commented 7 years ago

Ref http://droidyue.com/blog/2016/04/04/set-shadowsocks-proxy-for-terminal/index.html