Skip to content

Commit

Permalink
2023.09.23
Browse files Browse the repository at this point in the history
  • Loading branch information
sh1yan committed Sep 23, 2023
1 parent 688fd64 commit a290c92
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

一切以免费自动为前提,工具本身的原理很简单,通过调用fofa或quake的API接口,去查询不需要进行账号验证的socks5代理服务,采集过来后进行存活校验,对可以使用的代理地址放入到轮询代理池中,也可设置使用固定代理地址或最佳代理功能,进行使用。

fofa采集模块:该模块是每个60秒进行一次API调用查询,把获取到的socks5代理地址放入待验活序列中进行验活后使用
fofa采集模块:该模块是每隔60秒进行一次API调用查询,把获取到的socks5代理地址放入待验活序列中进行验活后使用

native采集模块:手动读取本地TXT文件中的socks5代理地址,只进行一次存活校验后,便进行代理使用

Expand All @@ -45,6 +45,8 @@ quake采集模块:该模块为一次性API调用查询,把获取到socks5代

``` go
注:手动运行工具第一次后,会在工具同目录下生成一个 config.ini 文件,需要按照个人想法进行配置对应的参数信息
特殊情况:假如出现程序卡顿,失效等情况,可以对工具强制退出后,再次运行时增加个 -logl 4 或者 -logl 5 进行查看具体问题原因
特殊情况示例:./Sppmagic -m fofa -logl 4 或者 ./Sppmagic -m quake -logl 4

./Sppmagic -m native -f proxy.txt (读取本地 proxy.txt 代理地址)
./Sppmagic -m fofa (使用 fofa API接口模式进行不断获取socks5代理地址)
Expand Down
2 changes: 1 addition & 1 deletion function/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
)

// 当前版本信息
var Version = "1.0.1"
var Version = "1.0.2"

// logo
var Slogan = `
Expand Down
2 changes: 1 addition & 1 deletion function/gather/quake.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func GetQuakeSocks5Data() {
res := postQuakeHttp(postdata, function.Quake_token, quake_timeout)
log.Debug(fmt.Sprint(res.Value()))
for i := range res.Get("data").Array() {
fmt.Println(res.Get("data").Array()[i].Get("ip"), ":", res.Get("data").Array()[i].Get("port"))
log.Verbose(fmt.Sprint(res.Get("data").Array()[i].Get("ip"), ":", res.Get("data").Array()[i].Get("port")))
ip_port := fmt.Sprintf("%v:%v", res.Get("data").Array()[i].Get("ip"), res.Get("data").Array()[i].Get("port"))
GETRES = append(GETRES, ip_port)
}
Expand Down

0 comments on commit a290c92

Please sign in to comment.