forked from p15670423/monkey
Silly bugfix in scanning
This commit is contained in:
parent
a32a783257
commit
c4ec6683a1
|
@ -144,7 +144,7 @@ class NetworkScanner(object):
|
|||
:return: Victim or None if victim isn't alive
|
||||
"""
|
||||
LOG.debug("Scanning target address: %r", victim)
|
||||
if any([scanner.is_host_alive(victim.ip_addr) for scanner in self.scanners]):
|
||||
if any([scanner.is_host_alive(victim) for scanner in self.scanners]):
|
||||
LOG.debug("Found potential target_ip: %r", victim)
|
||||
return victim
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue