refactor: 合并 fileinfo 和 dcinfo 到 systeminfo

- fileinfo 的敏感文件扫描合并到 systeminfo
- dcinfo 的域控信息收集合并到 systeminfo,通过 build tag 隔离平台差异
- 检测到域环境时自动触发域信息收集,WORKGROUP 环境自动跳过
- 新增 systeminfo_dc_windows.go 和 systeminfo_dc_other.go 处理跨平台编译
This commit is contained in:
ZacharyZcR
2026-05-15 23:16:35 +08:00
parent 76a4331fae
commit 150e48ba85
7 changed files with 371 additions and 1038 deletions
+5
View File
@@ -0,0 +1,5 @@
//go:build (plugin_systeminfo || !plugin_selective) && !windows && !no_local
package local
func (p *SystemInfoPlugin) collectDomainInfo() {}