better hostname resolution in the targeting

This commit is contained in:
DanMcInerney 2013-11-20 19:53:28 -05:00
parent e1722df994
commit 543e37803e

View file

@ -803,7 +803,7 @@ class active_users():
print '[-] Could not find any netbios names. Continuing without them'
if nbtip and nbtname:
for a in self.IPandMAC:
if nbtip in a[0]:
if nbtip == a[0]:
a.append(nbtname)
# Start monitor mode