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.10.1 "
21+ VERSION = "1.4.10.2 "
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 )
Original file line number Diff line number Diff line change @@ -1147,17 +1147,19 @@ def dictionaryAttack(attack_dict):
11471147 warnMsg = "user aborted during dictionary-based attack phase (Ctrl+C was pressed)"
11481148 logger .warn (warnMsg )
11491149
1150+ finally :
1151+ if _multiprocessing :
1152+ gc .enable ()
1153+
1154+ # NOTE: https://github.com/sqlmapproject/sqlmap/issues/4367
1155+ # NOTE: https://dzone.com/articles/python-101-creating-multiple-processes
11501156 for process in processes :
11511157 try :
11521158 process .terminate ()
11531159 process .join ()
11541160 except (OSError , AttributeError ):
11551161 pass
11561162
1157- finally :
1158- if _multiprocessing :
1159- gc .enable ()
1160-
11611163 if retVal :
11621164 if conf .hashDB :
11631165 conf .hashDB .beginTransaction ()
You can’t perform that action at this time.
0 commit comments