修改-debug参数,自定义打印当前进度时间,默认100秒没进制就会输出。-debug 0时,有err时就会输出

This commit is contained in:
shadow1ng
2021-03-31 17:58:40 +08:00
parent 6fae8bf277
commit 7f2f7df67e
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ func Flag(Info *HostInfo) {
flag.BoolVar(&Ping, "ping", false, "using ping replace icmp")
flag.StringVar(&TmpOutputfile, "o", "result.txt", "Outputfile")
flag.BoolVar(&TmpSave, "no", false, "not to save output log")
flag.Int64Var(&LogErrTime, "debug", 120, "every time to LogErr")
flag.Int64Var(&WaitTime, "debug", 120, "every time to LogErr")
flag.StringVar(&URL, "u", "", "url")
flag.StringVar(&UrlFile, "uf", "", "urlfile")
flag.StringVar(&Pocinfo.PocName, "pocname", "", "use the pocs these contain pocname, -pocname weblogic")