Locked WPS = 'no'. And new Option to ignore old handshakes

* Targets with WPS Locked will say "no" under WPS in the target list.
* `--new-hs` will ignore existing handshakes.
This commit is contained in:
derv82
2018-02-28 02:25:15 -05:00
parent aaf7845177
commit 001fc19eac
3 changed files with 10 additions and 2 deletions

View File

@@ -51,8 +51,9 @@ class Tshark(object):
if ',' not in line:
continue
bssid, locked = line.split(',')
# TODO: Ignore if WPS is locked?
bssids.add(bssid.upper())
# Ignore if WPS is locked?
if '1' not in locked:
bssids.add(bssid.upper())
for t in targets:
t.wps = t.bssid.upper() in bssids