新增LiveTop功能,检测存活时,默认会输出top10的b、c段ip存活数量

This commit is contained in:
影舞者
2022-01-07 13:38:38 +08:00
parent 60cd94d459
commit 6ce60284bc
5 changed files with 76 additions and 9 deletions
+2
View File
@@ -1,5 +1,6 @@
package common
var version = "1.7.0"
var Userdict = map[string][]string{
"ftp": {"ftp", "admin", "www", "web", "root", "db", "wwwroot", "data"},
"mysql": {"root", "mysql"},
@@ -99,4 +100,5 @@ var (
UserAdd string
PassAdd string
BruteThread int
LiveTop int
)
+2 -1
View File
@@ -11,7 +11,7 @@ func Banner() {
/ /_\/____/ __|/ __| '__/ _` + "`" + ` |/ __| |/ /
/ /_\\_____\__ \ (__| | | (_| | (__| <
\____/ |___/\___|_| \__,_|\___|_|\_\
fscan version: 1.6.3
fscan version: ` + version + `
`
print(banner)
}
@@ -34,6 +34,7 @@ func Flag(Info *HostInfo) {
flag.StringVar(&Info.Scantype, "m", "all", "Select scan type ,as: -m ssh")
flag.StringVar(&Info.Path, "path", "", "fcgi、smb romote file path")
flag.IntVar(&Threads, "t", 600, "Thread nums")
flag.IntVar(&LiveTop, "top", 10, "show live len top")
flag.StringVar(&HostFile, "hf", "", "host file, -hf ip.txt")
flag.StringVar(&Userfile, "userf", "", "username file")
flag.StringVar(&Passfile, "pwdf", "", "password file")