From 185f89d07fa188904f43325e04c856b8890c611d Mon Sep 17 00:00:00 2001 From: daniel_sagi Date: Tue, 17 Jul 2018 19:06:03 +0300 Subject: [PATCH] fixed pods vuln --- src/modules/hunting/kubelet.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/modules/hunting/kubelet.py b/src/modules/hunting/kubelet.py index 5735d8d..5369f14 100644 --- a/src/modules/hunting/kubelet.py +++ b/src/modules/hunting/kubelet.py @@ -16,9 +16,8 @@ urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) """ Vulnerabilities """ class ExposedPodsHandler(Vulnerability, Event): """An attacker could view sensitive information about pods that are bound to a Node using the /pods endpoint""" - def __init__(self, count): + def __init__(self): Vulnerability.__init__(self, Kubelet, "Exposed Pods", category=InformationDisclosure) - self.evidence = count class AnonymousAuthEnabled(Vulnerability, Event): """The kubelet is misconfigured, potentially allowing secure access to all requests on the kubelet, without the need to authenticate"""