forked from p15670423/monkey
add OS name to logs
This commit is contained in:
parent
702f5c1a41
commit
b9186376f9
|
@ -337,8 +337,8 @@ class InfectionMonkey(object):
|
||||||
:return: True if successfully exploited, False otherwise
|
:return: True if successfully exploited, False otherwise
|
||||||
"""
|
"""
|
||||||
if not exploiter.is_os_supported():
|
if not exploiter.is_os_supported():
|
||||||
LOG.info("Skipping exploiter %s host:%r, os is not supported",
|
LOG.info("Skipping exploiter %s host:%r, os %s is not supported",
|
||||||
exploiter.__class__.__name__, machine)
|
exploiter.__class__.__name__, machine, machine.os)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
LOG.info("Trying to exploit %r with exploiter %s...", machine, exploiter.__class__.__name__)
|
LOG.info("Trying to exploit %r with exploiter %s...", machine, exploiter.__class__.__name__)
|
||||||
|
|
Loading…
Reference in New Issue