From a2a4fad322ff9023a8675a8a9ad695c8fd2146bc Mon Sep 17 00:00:00 2001 From: Daniel Sagi Date: Thu, 3 Dec 2020 22:40:21 +0200 Subject: [PATCH] changed to use direct imported class --- kube_hunter/modules/hunting/aks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kube_hunter/modules/hunting/aks.py b/kube_hunter/modules/hunting/aks.py index 84b5a40..31ddca3 100644 --- a/kube_hunter/modules/hunting/aks.py +++ b/kube_hunter/modules/hunting/aks.py @@ -83,7 +83,7 @@ class ProveAzureSpnExposure(ActiveHunter): Uses SecureKubeletPortHunter to test the /run handler TODO: when multiple event subscription is implemented, use this here to make sure /run is accessible """ - debug_handlers = kubelet.SecureKubeletPortHunter.DebugHandlers(path=self.base_url, session=self.event.session) + debug_handlers = SecureKubeletPortHunter.DebugHandlers(path=self.base_url, session=self.event.session) return debug_handlers.test_run_container() def run(self, command, container):