diff --git a/kube-hunter.py b/kube-hunter.py index 9403e9f..bb12489 100755 --- a/kube-hunter.py +++ b/kube-hunter.py @@ -102,6 +102,7 @@ def main(): handler.join() except KeyboardInterrupt: logging.debug("Kube-Hunter stopped by user") + # happens when running a container without interactive option except EOFError: logging.error("\033[0;31mPlease run again with -it\033[0m") finally: @@ -115,4 +116,4 @@ def main(): while True: time.sleep(5) if __name__ == '__main__': - main() \ No newline at end of file + main()