File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818from 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 "
2222TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2323TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2424VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
914914
915915# Leaving (dirty) possibility to change values from here (e.g. `export SQLMAP__MAX_NUMBER_OF_THREADS=20`)
916916for 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 ):
You can’t perform that action at this time.
0 commit comments