mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
Set threads to 4 when optimization switch is provided, -o
This commit is contained in:
parent
8397c526d8
commit
ec9ebb3479
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user