2.1.1: Option to ignore APs without clients (--clients-only or -co)
Requested in #79
This commit is contained in:
@@ -237,6 +237,8 @@ class Airodump(object):
|
||||
result = []
|
||||
# Filter based on Encryption
|
||||
for target in targets:
|
||||
if Configuration.clients_only and len(target.clients) == 0:
|
||||
continue
|
||||
if 'WEP' in Configuration.encryption_filter and 'WEP' in target.encryption:
|
||||
result.append(target)
|
||||
elif 'WPA' in Configuration.encryption_filter and 'WPA' in target.encryption:
|
||||
|
||||
Reference in New Issue
Block a user