From a4110b4cf9ee9ba649deb8947325e431919ad336 Mon Sep 17 00:00:00 2001 From: derv82 Date: Sun, 1 Apr 2018 15:23:56 -0400 Subject: [PATCH] Put quotes around Tshark filter ... otherwise tshark locks up --- wifite/tools/tshark.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wifite/tools/tshark.py b/wifite/tools/tshark.py index 823f294..ff61af0 100755 --- a/wifite/tools/tshark.py +++ b/wifite/tools/tshark.py @@ -116,9 +116,9 @@ class Tshark(object): command = [ 'tshark', '-r', capfile, # Path to cap file - # Extract beacon frames - '-Y', 'wlan.fc.type_subtype == 0x08 || wlan.fc.type_subtype == 0x05', '-n', # Don't resolve addresses + # Extract beacon frames + '-Y', '"wlan.fc.type_subtype == 0x08 || wlan.fc.type_subtype == 0x05"', ] tshark = Process(command, devnull=False)