diff --git a/lib/core/settings.py b/lib/core/settings.py index 3cde5b8a9..f0d981251 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -20,7 +20,7 @@ from lib.core.enums import OS from thirdparty import six # sqlmap version (...) -VERSION = "1.10.8.27" +VERSION = "1.10.8.28" TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE) @@ -1790,7 +1790,15 @@ th{ } """ -# Leaving (dirty) possibility to change values from here (e.g. `export SQLMAP__MAX_NUMBER_OF_THREADS=20`) +# Leaving (dirty) possibility to change values from here (e.g. `export SQLMAP__MAX_NUMBER_OF_THREADS=20`). +# +# NOTE the SECOND underscore is deliberate and must stay. sqlmap scans os.environ TWICE, for two +# different things: this loop binds settings CONSTANTS at import, while `_mergeOptions` (option.py) +# binds conf OPTIONS at boot, matching `SQLMAP_