修复硬编码中文,迁移废弃的 uuid 依赖

- flag.go: -local/-perf 参数改用 i18n.GetText,checkParameterConflicts 改用 i18n.Tr
- 补齐中英文 locale 中 flag_local_plugin/flag_perf_stats/param_local_multi_plugin
- satori/go.uuid 迁移为 google/uuid (satori 已废弃)
- CI 补充 lint Go 版本说明
This commit is contained in:
ZacharyZcR
2026-05-18 02:43:45 +08:00
parent 72403ebb32
commit 2f2b30763c
7 changed files with 21 additions and 11 deletions
+6
View File
@@ -30,6 +30,8 @@ flag_disable_ping:
other: "Disable ping detection"
flag_disable_tcp_probe:
other: "Disable TCP supplementary probe"
flag_local_plugin:
other: "Specify local plugin name (e.g.: cleaner, systeminfo, keylogger)"
flag_debug:
other: "Enable debug mode, write logs to fscan_debug.log"
flag_alive_only:
@@ -120,6 +122,8 @@ flag_log_level:
other: "Log level"
flag_disable_progress:
other: "Disable progress bar"
flag_perf_stats:
other: "Output performance stats in JSON"
flag_shellcode:
other: "Shellcode"
flag_reverse_shell_target:
@@ -213,6 +217,8 @@ target_local_mode:
other: "Local scan mode"
param_conflict_ao_icmp_both:
other: "Note: Both -ao and -m icmp specified, both enable alive detection mode"
param_local_multi_plugin:
other: "Only a single local plugin can be specified, multiple plugins separated by '{{.Arg1}}' are not supported"
# ========================= Parser Messages =========================
parser_empty_input: