From d001b5c8252bf8cec87af452671e3a455a197948 Mon Sep 17 00:00:00 2001 From: Michael Scalzetti Date: Wed, 26 Oct 2022 04:13:44 -0400 Subject: [PATCH] switching to a static sniff and testing destroy_sniffs --- src/main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.py b/src/main.py index d6741c8..962c0c2 100755 --- a/src/main.py +++ b/src/main.py @@ -2,9 +2,10 @@ import reporter, sniffer def main(): - print(sniffer.run_cmd("echo 1")) snfr = sniffer.Sniffer("walfa0") - print(snfr.sniff(5)) + #print(snfr.sniff(5)) + data = snfr.parse_sniff("/tmp/SUSTMP_hyMIo/cap-1666770829-01.csv") + snfr.destroy_sniffs() if __name__ == "__main__": main() \ No newline at end of file