mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Set threads to 4 when optimization switch is provided, -o
This commit is contained in:
@@ -1121,7 +1121,7 @@ def __cleanupOptions():
|
||||
#conf.predictOutput = True
|
||||
conf.keepAlive = True
|
||||
conf.nullConnection = not conf.textOnly
|
||||
conf.threads = 4 if conf.threads < 2 else conf.threads
|
||||
conf.threads = 4 if conf.threads < 4 else conf.threads
|
||||
|
||||
if conf.realTest:
|
||||
conf.userAgentsFile = paths.USER_AGENTS
|
||||
|
||||
Reference in New Issue
Block a user