From: Kali Developers <devel@kali.org>
Date: Mon, 9 Sep 2019 11:14:47 +0200
Subject: disable-self-update

Patched to disable the tool's auto-update check on launch
---
 core/libs/banner.py | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/core/libs/banner.py b/core/libs/banner.py
index f21b384..fa81da6 100644
--- a/core/libs/banner.py
+++ b/core/libs/banner.py
@@ -59,11 +59,11 @@ class Banner(object):
 \t\t\t|__/|__/\___/_.___/_/ /_/\__,_/_/ /_/\__,_/_/\___/_/     
 \t\t-------------------------------------------------------------------------""",
 ]), choice(colors))
-    if not path.exists(path.join(getcwd(), ".git")):
-        banner += colored('\n\t\t  [!] "non-git". Keep up-to-date by running \'--update\'', 'red')
-    else:
-        f = Popen('git rev-parse --short HEAD', shell=True, stdout=PIPE, stderr=PIPE)
-        current_commit = f.communicate()[0]
-        banner += colored('\n{0}Version: {1}'.format('\t' * 7, current_commit), 'grey', attrs=['bold'])
+#    if not path.exists(path.join(getcwd(), ".git")):
+#        banner += colored('\n\t\t  [!] "non-git". Keep up-to-date by running \'--update\'', 'red')
+#    else:
+#        f = Popen('git rev-parse --short HEAD', shell=True, stdout=PIPE, stderr=PIPE)
+#        current_commit = f.communicate()[0]
+#        banner += colored('\n{0}Version: {1}'.format('\t' * 7, current_commit), 'grey', attrs=['bold'])
 
 banner = Banner().banner
