forked from p15670423/monkey
renames exploit_host to _exploit_host in weblogic exploiter
This commit is contained in:
parent
e4a79c1070
commit
c093f0509a
|
@ -36,7 +36,7 @@ class WebLogicExploiter(HostExploiter):
|
|||
_TARGET_OS_TYPE = ['linux', 'windows']
|
||||
_EXPLOITED_SERVICE = 'Weblogic'
|
||||
|
||||
def exploit_host(self):
|
||||
def _exploit_host(self):
|
||||
exploiters = [WebLogic20192725, WebLogic201710271]
|
||||
for exploiter in exploiters:
|
||||
if exploiter(self.host).exploit_host():
|
||||
|
|
Loading…
Reference in New Issue