mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-11-19 22:50:54 +00:00
Fixes #6180
This commit is contained in:
parent
397a3bde2e
commit
eca9ff2e13
2 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue