修改线程处理机制

This commit is contained in:
shadow1ng
2021-03-30 22:30:16 +08:00
parent d6e8d37ce8
commit 7535fdace7
11 changed files with 25 additions and 30 deletions
+7 -1
View File
@@ -106,7 +106,13 @@ func ParseInput(Info *HostInfo) {
flag.Usage()
os.Exit(0)
}
//LogErr = Info.Debug
if LogErr {
WaitTime = 10
} else {
WaitTime = 100
}
if TmpOutputfile != "" {
if !strings.Contains(Outputfile, "/") && !strings.Contains(Outputfile, `\`) {
Outputfile = getpath() + TmpOutputfile