From a7dd3a505c8982facdb5367aaf067f3750a55c2d Mon Sep 17 00:00:00 2001 From: Michael Cherny Date: Sun, 23 Dec 2018 14:37:15 +0200 Subject: [PATCH] Add '--quick' option to kube-hunter command line arguments It was used but not implemented, causing from pod scanning in Azure not to work. --- kube-hunter.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kube-hunter.py b/kube-hunter.py index e8cedf4..71546c7 100755 --- a/kube-hunter.py +++ b/kube-hunter.py @@ -14,6 +14,7 @@ parser = argparse.ArgumentParser(description='Kube-Hunter - hunts for security w parser.add_argument('--list', action="store_true", help="displays all tests in kubehunter (add --active flag to see active tests)") parser.add_argument('--internal', action="store_true", help="set hunting of all internal network interfaces") parser.add_argument('--pod', action="store_true", help="set hunter as an insider pod") +parser.add_argument('--quick', action="store_true", help="Prefer quick scan (subnet 24)") parser.add_argument('--cidr', type=str, help="set an ip range to scan, example: 192.168.0.0/16") parser.add_argument('--mapping', action="store_true", help="outputs only a mapping of the cluster's nodes") parser.add_argument('--remote', nargs='+', metavar="HOST", default=list(), help="one or more remote ip/dns to hunt")