Skip to content

Commit

Permalink
Show IP list only in debug.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangsean committed Mar 13, 2022
1 parent 992a330 commit a40cdba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,9 @@ func main() {
}
msg += ports + " on"
}
fmt.Println(msg, aimIPs)
if debug {
fmt.Println(msg, aimIPs)
}

scanCount := len(aimIPs) * len(aimPorts)
wg := &sync.WaitGroup{}
Expand Down

0 comments on commit a40cdba

Please sign in to comment.