MCPcopy Index your code
hub / github.com/Liang2580/rotateproxy

github.com/Liang2580/rotateproxy @3.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 3.0 ↗ · + Follow
39 symbols 80 edges 6 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

rotateproxy

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

帮助

└──╼ #./cmd/rotateproxy/rotateproxy -h
Usage of ./cmd/rotateproxy/rotateproxy:
  -email string
        email address
  -l string
        listen address (default ":9999")
  -page int
        the page count you want to crawl (default 5)
  -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-11-01\"")
  -time int
        Not used for more than milliseconds (default 8000)
  -token string
        token

使用方法

./cmd/rotateproxy/rotateproxy -email=qqq.com -token=xxx

time 代表。毫秒值。默认为超过8000毫秒则不使用当前代理

proxy

此项目还欠缺一部分功能

1.当前代理中断后的自动连接耗时最短的代理 [2.0已完成]

2.调度的权重

3.暂只编译了Linux amd64

Extension points exported contracts — how you extend this code

RedirectClientOption (FuncType)
(no doc)
traffic_redirect.go

Core symbols most depended-on inside this repo

closeConn
called by 12
traffic_redirect.go
StopProxy
called by 5
db.go
TableName
called by 4
db.go
transport
called by 3
traffic_redirect.go
RunCrawler
called by 2
crawler.go
copyBuffer
called by 2
traffic_redirect.go
RandomProxyURL
called by 2
db.go
checkAlive
called by 2
check.go

Shape

Function 28
Struct 6
Method 4
FuncType 1

Languages

Go100%

Modules by API surface

db.go13 symbols
traffic_redirect.go11 symbols
check.go5 symbols
crawler.go4 symbols
util.go3 symbols
cmd/rotateproxy/main.go3 symbols

For agents

$ claude mcp add rotateproxy \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact