feat: 分离结果输出和日志

This commit is contained in:
ZacharyZcR
2025-01-14 23:38:58 +08:00
parent c6c613a17b
commit 97e9ac7161
38 changed files with 1526 additions and 879 deletions
+1
View File
@@ -160,6 +160,7 @@ func Flag(Info *HostInfo) {
// 输出配置
flag.StringVar(&Outputfile, "o", "result.txt", "指定结果输出文件名")
flag.StringVar(&OutputFormat, "f", "txt", "指定输出格式 (txt/json/csv)")
flag.BoolVar(&DisableSave, "no", false, "禁止保存扫描结果")
flag.BoolVar(&Silent, "silent", false, "启用静默扫描模式(减少屏幕输出)")
flag.BoolVar(&NoColor, "nocolor", false, "禁用彩色输出显示")