diff --git a/etc/checksum/md5sum.md5 b/etc/checksum/md5sum.md5 index c68d10e..dd3ae0d 100644 --- a/etc/checksum/md5sum.md5 +++ b/etc/checksum/md5sum.md5 @@ -32,7 +32,7 @@ fc11145007c1c3f47cbda44ced93e73f ./lib/attacks/admin_panel_finder/__init__.py c5ebb0c56c9ae3b9a72a14e3f05afa16 ./lib/attacks/intel_me/__init__.py 1faa2b5dfad6eb538bbfe42942d2a9da ./lib/core/errors.py d41d8cd98f00b204e9800998ecf8427e ./lib/core/__init__.py -61d607a67d50b6a9c372ba2a8bd33bec ./lib/core/settings.py +28df692d6ecc5d0888e8a63466666c5b ./lib/core/settings.py d41d8cd98f00b204e9800998ecf8427e ./var/google_search/__init__.py d28b1b648539106a488067b951a9dd7c ./var/google_search/search.py d41d8cd98f00b204e9800998ecf8427e ./var/__init__.py diff --git a/lib/core/settings.py b/lib/core/settings.py index 9653284..05a51db 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -25,10 +25,12 @@ try: except NameError: raw_input = input # Python 3 +# get the master patch ID when a patch is pushed to the program +PATCH_ID = str(subprocess.check_output(["git", "rev-parse", "origin/master"]))[:6] # clone link CLONE = "https://github.com/ekultek/zeus-scanner.git" # current version -VERSION = "1.0.56.d28b" +VERSION = "1.0.56.{}".format(PATCH_ID) # colors to output depending on the version VERSION_TYPE_COLORS = {"dev": 33, "stable": 92, "other": 30} # version string formatting