Skip to content

利用fofa搜索socks5开放代理进行代理池轮切的工具

Notifications You must be signed in to change notification settings

0x727/rotateproxy

 
 

Repository files navigation

rotateproxy

利用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

安装为linux服务(感谢 @Rvn0xsy 提供 PR

  1. 下载相关文件
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'
  1. 查看 rotateproxy.service.example 文件示例,将 /usr/lib/systemd/system/rotateproxy.service 文件中的 ExecStart 的命令替换为你自己的命令
  2. 启动服务
# 开启服务
service rotateproxy start
# 关闭服务
service rotateproxy stop
# 重启服务
service rotateproxy restart
# 设置开机自启动
systemctl enable rotateproxy.service

效果展示

About

利用fofa搜索socks5开放代理进行代理池轮切的工具

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 99.6%
  • Makefile 0.4%