diff --git a/lib/core/settings.py b/lib/core/settings.py index 5ab376503..125c1a0e2 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import OS from thirdparty import six # sqlmap version (...) -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) diff --git a/lib/utils/hash.py b/lib/utils/hash.py index ee3af594c..e23223b6b 100644 --- a/lib/utils/hash.py +++ b/lib/utils/hash.py @@ -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