Detect when AP has WPS Locked, show in target list

This commit is contained in:
derv82
2018-08-24 16:50:24 -07:00
parent 141934a7b1
commit 2e671e0273
8 changed files with 43 additions and 23 deletions

View File

@@ -88,7 +88,7 @@ class Scanner(object):
return False # No specific target from user.
for target in self.targets:
if Configuration.wps_only and target.wps != True:
if Configuration.wps_only and target.wps == False:
continue
if bssid and target.bssid and bssid.lower() == target.bssid.lower():
self.target = target