From 45a92a9577d36484d8a2d580ce6472234f98c565 Mon Sep 17 00:00:00 2001 From: Daniel Sagi Date: Fri, 21 Aug 2020 05:18:12 -0700 Subject: [PATCH] fixed etcd version hunting typo --- kube_hunter/modules/hunting/etcd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kube_hunter/modules/hunting/etcd.py b/kube_hunter/modules/hunting/etcd.py index 15b3af3..da74ff3 100644 --- a/kube_hunter/modules/hunting/etcd.py +++ b/kube_hunter/modules/hunting/etcd.py @@ -135,7 +135,7 @@ class EtcdRemoteAccess(Hunter): logger.debug(f"Trying to check etcd version remotely at {self.event.host}") try: r = requests.get( - f"{self.protocol}://{self.event.host}:{ETCD_PORT}/version", + f"{self.event.protocol}://{self.event.host}:{ETCD_PORT}/version", verify=False, timeout=config.network_timeout, )