Total Pageviews

Monday 28 May 2018

又一个带有认证功能的SOCKS5代理服务器程序-microsocks

git clone https://github.com/rofl0r/microsocks
cd microsocks
make
(此命令会在当前目录下,生成可执行文件microsocks)

root@ar:~/microsocks# ./microsocks -h
MicroSocks SOCKS5 Server

usage: microsocks -1 -b -i listenip -p port -u user -P password
all arguments are optional.
by default listenip is 0.0.0.0 and port 1080.

option -b forces outgoing connections to be bound to the ip specified with -i
option -1 activates auth_once mode: once a specific ip address
authed successfully with user/pass, it is added to a whitelist
and may use the proxy without auth.
this is handy for programs like firefox that don't support
user/pass auth. for it to work you'd basically make one connection
with another program that supports it, and then you can use firefox too.
root@ar:~/microsocks# ./microsocks -b -i 0.0.0.0 -p 3678 -u admin -P mypassword &

这样,在3678端口就搭建了一个带有认证功能的SOCKS5代理服务器。

项目地址:https://github.com/rofl0r/microsocks
或者https://codeberg.org/rofl0r/microsocks

No comments:

Post a Comment