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
|
:return: Victim or None if victim isn't alive
|
||||||
"""
|
"""
|
||||||
LOG.debug("Scanning target address: %r", victim)
|
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)
|
LOG.debug("Found potential target_ip: %r", victim)
|
||||||
return victim
|
return victim
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue