利用fofa搜索socks5开放代理进行代理池轮切的工具
- 支持认证
- 代理列表优选策略:随机、或延时前多少位随机
> .\rotateproxy.exe -h
Usage of rotateproxy.exe:
-email string
email address
-l string
listen address (default ":8899")
-page int
the page count you want to crawl (default 5)
-pass string
authentication password
-region int
0: all 1: cannot bypass gfw 2: bypass gfw
-rule string
search rule (default "protocol==\"socks5\" && \"Version:5 Method:No Authentication(0x00)\" && after=\"2021-08-01\" && country=\"CN\"")
-token string
token
-user string
authentication username
go get -u github.com/akkuman/rotateproxy/cmd/...
或者到发布页面进行下载
curl -L -o rotateproxy 'https://github.com/akkuman/rotateproxy/releases/latest/download/rotateproxy-linux-amd64'
chmod +x ./rotateproxy
- 下载相关文件
curl -L -o /usr/local/bin/rotateproxy 'https://github.com/akkuman/rotateproxy/releases/latest/download/rotateproxy-linux-amd64'
chmod +x /usr/local/bin/rotateproxy
curl -L -o /usr/lib/systemd/system/rotateproxy.service 'https://raw.githubusercontent.com/akkuman/rotateproxy/master/rotateproxy.service.example'
- 查看 rotateproxy.service.example 文件示例,将
/usr/lib/systemd/system/rotateproxy.service
文件中的ExecStart
的命令替换为你自己的命令 - 启动服务
# 开启服务
service rotateproxy start
# 关闭服务
service rotateproxy stop
# 重启服务
service rotateproxy restart
# 设置开机自启动
systemctl enable rotateproxy.service