forked from p15670423/monkey
Merge pull request #898 from acepace/bugfix_fingerprinter
Monkey: Guard against exceptions while fingerprinting
This commit is contained in:
commit
f07826d5d2
|
@ -170,7 +170,11 @@ class InfectionMonkey(object):
|
|||
for finger in self._fingerprint:
|
||||
LOG.info("Trying to get OS fingerprint from %r with module %s",
|
||||
machine, finger.__class__.__name__)
|
||||
try:
|
||||
finger.get_host_fingerprint(machine)
|
||||
except BaseException as exc:
|
||||
LOG.error("Failed to run fingerprinter %s, exception %s" % finger.__class__.__name__,
|
||||
str(exc))
|
||||
|
||||
ScanTelem(machine).send()
|
||||
|
||||
|
|
Loading…
Reference in New Issue