Filter multicast/broadcast BSSIDs from appearing in target list

Should resolve #32
This commit is contained in:
derv82
2017-06-11 17:48:19 -04:00
parent b9c90b3d48
commit ebdde675e9
2 changed files with 26 additions and 12 deletions

View File

@@ -211,17 +211,12 @@ class Airodump(object):
else:
# The current row corresponds to a "Target" (router)
target = Target(row)
try:
target = Target(row)
targets.append(target)
except Exception:
continue
if target.essid_len == 0:
# Ignore empty/blank ESSIDs
pass
if target.channel == "-1":
# Ignore -1 channel
pass
targets.append(target)
return targets
@staticmethod