mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-01-26 16:19:04 +00:00
run like --threads=20! will skip the maximum number of threads check
This commit is contained in:
@@ -2190,7 +2190,7 @@ def _basicOptionValidation():
|
||||
errMsg = "switch '--predict-output' is incompatible with option '--threads' and switch '-o'"
|
||||
raise SqlmapSyntaxException(errMsg)
|
||||
|
||||
if conf.threads > MAX_NUMBER_OF_THREADS:
|
||||
if conf.threads > MAX_NUMBER_OF_THREADS and not conf.get("skipThreadCheck"):
|
||||
errMsg = "maximum number of used threads is %d avoiding potential connection issues" % MAX_NUMBER_OF_THREADS
|
||||
raise SqlmapSyntaxException(errMsg)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user