Skip to content

Commit a4110b4

Browse files
committed
Put quotes around Tshark filter ... otherwise tshark locks up
1 parent e8c0843 commit a4110b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wifite/tools/tshark.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ def bssid_essid_pairs(capfile, bssid):
116116
command = [
117117
'tshark',
118118
'-r', capfile, # Path to cap file
119-
# Extract beacon frames
120-
'-Y', 'wlan.fc.type_subtype == 0x08 || wlan.fc.type_subtype == 0x05',
121119
'-n', # Don't resolve addresses
120+
# Extract beacon frames
121+
'-Y', '"wlan.fc.type_subtype == 0x08 || wlan.fc.type_subtype == 0x05"',
122122
]
123123
tshark = Process(command, devnull=False)
124124

0 commit comments

Comments
 (0)