From 3a17032433a34c1e9eae8f1668026c1e7b1116b4 Mon Sep 17 00:00:00 2001 From: Pin Date: Sun, 17 Mar 2024 00:06:46 -0400 Subject: [PATCH] tsting --- main.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.go b/main.go index 57297c4..494146f 100644 --- a/main.go +++ b/main.go @@ -82,10 +82,14 @@ func openCapture(tInfo *targetInfo) *pcap.Handle { } func main() { + log.Panicf("Starting program\n"); tInfo := sInit(runtime.GOOS) + log.Printf("sInit run\n") // Read package and analze them + log.Printf("Starting capture") handle := openCapture(tInfo) + log.Printf("Started capture") handle.SetBPFFilter(tInfo.filter) packets := gopacket.NewPacketSource(handle, handle.LinkType()).Packets()