Merge pull request #373 from VakarisZ/weblogic_bugfix

Renames exploit_host to _exploit_host in weblogic exploiter
This commit is contained in:
VakarisZ 2019-07-08 17:29:50 +03:00 committed by GitHub
commit 12e85ea2b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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():