Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f63a92a

Browse files
committed
Another minor patch related to the #4167
1 parent e3b3dea commit f63a92a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/core/settings.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from thirdparty.six import unichr as _unichr
1919

2020
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21-
VERSION = "1.4.4.5"
21+
VERSION = "1.4.4.6"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
@@ -914,8 +914,8 @@
914914

915915
# Leaving (dirty) possibility to change values from here (e.g. `export SQLMAP__MAX_NUMBER_OF_THREADS=20`)
916916
for key, value in os.environ.items():
917-
if key.upper().startswith("%s" % SQLMAP_ENVIRONMENT_PREFIX):
918-
_ = key[len(SQLMAP_ENVIRONMENT_PREFIX):].upper()
917+
if key.upper().startswith("%s_" % SQLMAP_ENVIRONMENT_PREFIX):
918+
_ = key[len(SQLMAP_ENVIRONMENT_PREFIX) + 1:].upper()
919919
if _ in globals():
920920
original = globals()[_]
921921
if isinstance(original, int):

0 commit comments

Comments
 (0)