From 12f9e6ed625928ca5c4cb09a02a19e30a57f0da0 Mon Sep 17 00:00:00 2001 From: shadow1ng Date: Tue, 17 Nov 2020 00:22:57 +0800 Subject: [PATCH] update --- README.md | 2 +- common/config.go | 2 +- common/flag.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b722790..5f1ebaf 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ 因为用习惯了f-scrack,习惯一条命令跑完所有模块,省去一个个模块单独调用的时间,当然我附加了-m 指定模块的功能。 ## 最近更新 -[+] 2020/11/16 对icmp模块进行优化,增加-it 参数(IcmpThreads),默认3000,适合扫B段 +[+] 2020/11/16 对icmp模块进行优化,增加-it 参数(IcmpThreads),默认11000,适合扫B段 [+] 2020/11/15 支持ip以文件导入,-hs ip.txt,并对去重做了处理 ## usege diff --git a/common/config.go b/common/config.go index 123288b..898a380 100644 --- a/common/config.go +++ b/common/config.go @@ -1,5 +1,5 @@ package common - +//fscan version 1.2 var Userdict = map[string][]string{ "ftp": {"www","admin","root","db","wwwroot","data","web","ftp"}, "mysql": {"root"}, diff --git a/common/flag.go b/common/flag.go index ad4a06a..3b3689c 100644 --- a/common/flag.go +++ b/common/flag.go @@ -26,7 +26,7 @@ func Flag(Info *HostInfo) { flag.StringVar(&Info.Ports,"p",DefaultPorts,"Select a port,for example: 22 | 1-65535 | 22,80,3306") flag.StringVar(&Info.Command,"c","","exec command (ssh)") flag.IntVar(&Info.Threads,"t",200,"Thread nums") - flag.IntVar(&Info.IcmpThreads,"it",3000,"Icmp Threads nums") + flag.IntVar(&Info.IcmpThreads,"it",11000,"Icmp Threads nums") flag.BoolVar(&Info.Isping,"np",false,"not to ping") flag.BoolVar(&Info.IsSave,"no",false,"not to save output log") flag.StringVar(&Info.Username,"user","","username")