From f8cabdb49cbbc993790efd0d9844cde3d4617347 Mon Sep 17 00:00:00 2001 From: dusoleil Date: Thu, 23 Feb 2023 05:41:54 -0500 Subject: Add the version to the splash screen Print the current version (sourced from git describe) when sploit starts up. Signed-off-by: dusoleil Reviewed-by: Malfurious --- sploit/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sploit/main.py b/sploit/main.py index 0f949f9..d918418 100644 --- a/sploit/main.py +++ b/sploit/main.py @@ -5,8 +5,9 @@ import traceback from sploit.comm import * from sploit.log import * +from sploit import __version__ -def print_banner(color, line1='', line2='', line3=''): +def print_banner(color, line1=__version__, line2='', line3=''): ilog() ilog(' ░▒█▀▀▀█░▒█▀▀█░▒█░░░░▒█▀▀▀█░▀█▀░▀▀█▀▀ ', end='', color=ALT) ilog(line1, color=ALT) -- cgit v1.2.3