Wait for WPS results if target is specified in switches and --wps-only as well
This commit is contained in:
@@ -88,6 +88,8 @@ class Scanner(object):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
for target in self.targets:
|
for target in self.targets:
|
||||||
|
if Configuration.wps_only and target.wps != True:
|
||||||
|
continue
|
||||||
if bssid and target.bssid and bssid.lower() == target.bssid.lower():
|
if bssid and target.bssid and bssid.lower() == target.bssid.lower():
|
||||||
self.target = target
|
self.target = target
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user