git clone https://github.com/4444TENSEI/EndpointJoiner
go run main.go
{
"constituentWord": [
"song",
"songs",
"rank",
"user"
],
"endWord": [
"/",
"/666666",
"/rank?id=666666"
],
"mutexGroups": {
"song": [
"songs"
]
},
"baseDomains": [
"https://xxx.xxx.com/api",
"https://xxx.xxx.com/api/v1",
"https://xxx.xxx.com/api/v6"
],
"concurrency": 1000
}
参数 | 值 |
---|---|
constituentWord | 字符串 ,多个随机值,生成时自动算出所有可能的组合顺序 |
endWord | 字符串 ,必定生成在尾部的自定义部分 |
mutexGroups | 键值对 ,定义冲突词,键名与值不会同时出现在最后生成的随机端点中。 |
baseDomains | 字符串 ,根域名,尾部不要带/ 斜杠 |
concurrency | 数值 ,并发数,越大越快 |