refactor: 去掉UDP扫描、优化了DCInfo和MiniDump的检测机制

This commit is contained in:
ZacharyZcR
2024-12-28 06:38:44 +08:00
parent ee1d176a8f
commit 2ce7041c95
8 changed files with 60 additions and 22 deletions
-1
View File
@@ -73,7 +73,6 @@ func Flag(Info *HostInfo) {
" 漏洞类: ms17010, smbghost, smb2\n"+
" 其他: findnet, wmiexec, localinfo")
flag.BoolVar(&UseSynScan, "sS", false, "使用SYN扫描替代TCP全连接扫描(需要root/管理员权限)")
flag.BoolVar(&UseUdpScan, "sU", false, "使用UDP扫描(部分端口自动使用UDP协议)")
flag.IntVar(&ThreadNum, "t", 600, "设置扫描线程数")
flag.Int64Var(&Timeout, "time", 3, "设置连接超时时间(单位:秒)")
flag.IntVar(&LiveTop, "top", 10, "仅显示指定数量的存活主机")