mirror of
https://github.com/shadow1ng/fscan.git
synced 2026-09-25 12:41:53 +08:00
恢复-nopoc功能
This commit is contained in:
+3
-2
@@ -907,8 +907,9 @@ var (
|
||||
LocalMode bool // -local 本地模式
|
||||
|
||||
// POC配置
|
||||
PocPath string
|
||||
Pocinfo PocInfo
|
||||
DisablePocScan bool //nopoc
|
||||
PocPath string
|
||||
Pocinfo PocInfo
|
||||
|
||||
// Redis配置
|
||||
RedisFile string
|
||||
|
||||
@@ -99,6 +99,7 @@ func Flag(Info *HostInfo) {
|
||||
flag.BoolVar(&LocalMode, "local", false, GetText("flag_local_mode"))
|
||||
|
||||
// POC配置
|
||||
flag.BoolVar(&DisablePocScan, "nopoc", false, GetText("flag_nopoc"))
|
||||
flag.StringVar(&PocPath, "pocpath", "", GetText("flag_poc_path"))
|
||||
flag.StringVar(&Pocinfo.PocName, "pocname", "", GetText("flag_poc_name"))
|
||||
flag.BoolVar(&PocFull, "full", false, GetText("flag_poc_full"))
|
||||
|
||||
Reference in New Issue
Block a user