forked from p15670423/monkey
Minor bugfix for error handling in new custom monkey destination paths feature
This commit is contained in:
parent
5565a80418
commit
e3d286dbc0
|
@ -381,9 +381,9 @@ class WebRCE(HostExploiter):
|
||||||
LOG.error("Could not figure out what type of monkey server was trying to upload, "
|
LOG.error("Could not figure out what type of monkey server was trying to upload, "
|
||||||
"thus destination path can not be chosen.")
|
"thus destination path can not be chosen.")
|
||||||
return False
|
return False
|
||||||
except AttributeError:
|
except KeyError:
|
||||||
LOG.error("Seems like monkey's source configuration property names changed. "
|
LOG.error("Unknown key was found. Please use \"linux\", \"win32\" and \"win64\" keys to initialize "
|
||||||
"Can not get destination path to upload monkey")
|
"custom dict of monkey's destination paths")
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def custom_to_dropper_path(self, path):
|
def custom_to_dropper_path(self, path):
|
||||||
|
|
Loading…
Reference in New Issue