From c093f0509af8ee2f32157c171908ac23db875cfd Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Mon, 8 Jul 2019 17:22:28 +0300 Subject: [PATCH] renames exploit_host to _exploit_host in weblogic exploiter --- monkey/infection_monkey/exploit/weblogic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/infection_monkey/exploit/weblogic.py b/monkey/infection_monkey/exploit/weblogic.py index 620657fb6..87ea58477 100644 --- a/monkey/infection_monkey/exploit/weblogic.py +++ b/monkey/infection_monkey/exploit/weblogic.py @@ -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():