mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-11-10 04:41:34 -10:00
Fixes #6180
This commit is contained in:
1 parent
397a3bde2e
commit
eca9ff2e13
2 files changed
+3
-2
No files matched your search
@@ -19,7 +19,7 @@ from lib.core.enums import OS
|
||||
from thirdparty import six
|
||||
|
||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||
VERSION = "1.10.11.8"
|
||||
VERSION = "1.10.11.9"
|
||||
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)
|
||||
|
||||
+2
-1
@@ -1380,7 +1380,8 @@ def dictionaryAttack(attack_dict):
|
||||
else:
|
||||
try:
|
||||
if multiprocessing.cpu_count() > 1:
|
||||
_multiprocessing = multiprocessing
|
||||
# Note: 'forkserver' (POSIX default since Python 3.14) re-imports the main script, which breaks for pip installs (#6180)
|
||||
_multiprocessing = multiprocessing.get_context("fork") if "fork" in getattr(multiprocessing, "get_all_start_methods", lambda: ())() else multiprocessing
|
||||
except NotImplementedError:
|
||||
pass
|
||||
|
||||
|
||||
Reference in new issue
Block a user