From 9da7fe3daa882ecd33337ae7639c9de13dfa9c0b Mon Sep 17 00:00:00 2001 From: Joao Ceron Date: Fri, 22 Jan 2021 11:56:58 -0300 Subject: [PATCH] tshark/file/nfdump exception handling --- ddos_dissector.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ddos_dissector.py b/ddos_dissector.py index ab22c2c..880d960 100755 --- a/ddos_dissector.py +++ b/ddos_dissector.py @@ -242,6 +242,7 @@ def prepare_tshark_cmd(input_path): :param input_path: filename return: tshark command line to be used to convert the file """ + tshark = shutil.which("tshark") if not tshark: logger.error("Tshark software not found. It should be on the path.\n")