mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
adding some constraining to number of used threads on brute force switches together with a warning in case of connection exception(s) with --threads>1
This commit is contained in:
@@ -390,6 +390,10 @@ class Connect:
|
||||
warnMsg += "with the --random-agent switch turned on "
|
||||
warnMsg += "and/or try to use proxy switches (--ignore-proxy, --proxy,...)"
|
||||
singleTimeLogMessage(warnMsg, logging.WARN, WARNFLAGS.RANDOM_AGENT)
|
||||
elif conf.threads > 1:
|
||||
warnMsg = "if the problem persists please try to lower "
|
||||
warnMsg += "the number of used threads (--threads)"
|
||||
singleTimeLogMessage(warnMsg, logging.WARN, WARNFLAGS.THREADS)
|
||||
|
||||
time.sleep(1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user