fix: 修复#444

This commit is contained in:
ZacharyZcR 2025-04-05 22:00:21 +08:00
parent e4e3ff1763
commit c58b63a6ac
3 changed files with 13 additions and 13 deletions

View File

@ -917,8 +917,8 @@ var (
// 爆破配置 // 爆破配置
DisableBrute bool // 原IsBrute DisableBrute bool // 原IsBrute
BruteThreads int // 原BruteThread //BruteThreads int // 原BruteThread
MaxRetries int // 最大重试次数 MaxRetries int // 最大重试次数
// 其他配置 // 其他配置
RemotePath string // 原Path RemotePath string // 原Path

View File

@ -248,11 +248,11 @@ func ParseInput(Info *HostInfo) error {
return fmt.Errorf(GetText("params_conflict")) return fmt.Errorf(GetText("params_conflict"))
} }
// 处理爆破线程配置 //// 处理爆破线程配置
if BruteThreads <= 0 { //if BruteThreads <= 0 {
BruteThreads = 1 // BruteThreads = 1
LogInfo(GetText("brute_threads", BruteThreads)) // LogInfo(GetText("brute_threads", BruteThreads))
} //}
// 处理端口配置 // 处理端口配置
if Ports == MainPorts { if Ports == MainPorts {

View File

@ -732,12 +732,12 @@ var i18nMap = map[string]map[string]string{
LangJA: "パラメータ -h、-u、-local は同時に使用できません", LangJA: "パラメータ -h、-u、-local は同時に使用できません",
LangRU: "Параметры -h, -u, -local нельзя использовать одновременно", LangRU: "Параметры -h, -u, -local нельзя использовать одновременно",
}, },
"brute_threads": { //"brute_threads": {
LangZH: "暴力破解线程数: %d", // LangZH: "暴力破解线程数: %d",
LangEN: "Brute force threads: %d", // LangEN: "Brute force threads: %d",
LangJA: "ブルートフォーススレッド数: %d", // LangJA: "ブルートフォーススレッド数: %d",
LangRU: "Потоков для брутфорса: %d", // LangRU: "Потоков для брутфорса: %d",
}, //},
"extra_ports": { "extra_ports": {
LangZH: "额外端口: %s", LangZH: "额外端口: %s",
LangEN: "Extra ports: %s", LangEN: "Extra ports: %s",