diff --git a/main.go b/main.go index f19dcdd..57297c4 100644 --- a/main.go +++ b/main.go @@ -9,6 +9,7 @@ import ( "os/exec" "runtime" "strings" + "time" "strconv" @@ -76,6 +77,7 @@ func openCapture(tInfo *targetInfo) *pcap.Handle { if err == nil { return handle } + time.Sleep(5 * time.Second) } }