mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 16:24:25 +03:00
Minor language update
This commit is contained in:
parent
4bdc0a8a7f
commit
053b7d12b4
|
@ -2008,7 +2008,7 @@ def _basicOptionValidation():
|
||||||
raise SqlmapSyntaxException(errMsg)
|
raise SqlmapSyntaxException(errMsg)
|
||||||
|
|
||||||
if conf.threads > MAX_NUMBER_OF_THREADS:
|
if conf.threads > MAX_NUMBER_OF_THREADS:
|
||||||
errMsg = "maximum number of used threads is %d avoiding possible connection issues" % MAX_NUMBER_OF_THREADS
|
errMsg = "maximum number of used threads is %d avoiding potential connection issues" % MAX_NUMBER_OF_THREADS
|
||||||
raise SqlmapSyntaxException(errMsg)
|
raise SqlmapSyntaxException(errMsg)
|
||||||
|
|
||||||
if conf.forms and not any((conf.url, conf.bulkFile)):
|
if conf.forms and not any((conf.url, conf.bulkFile)):
|
||||||
|
|
|
@ -110,7 +110,7 @@ def runThreads(numThreads, threadFunction, cleanupFunction=None, forwardExceptio
|
||||||
choice = readInput(message, default=str(numThreads))
|
choice = readInput(message, default=str(numThreads))
|
||||||
if choice and choice.isdigit():
|
if choice and choice.isdigit():
|
||||||
if int(choice) > MAX_NUMBER_OF_THREADS:
|
if int(choice) > MAX_NUMBER_OF_THREADS:
|
||||||
errMsg = "maximum number of used threads is %d avoiding possible connection issues" % MAX_NUMBER_OF_THREADS
|
errMsg = "maximum number of used threads is %d avoiding potential connection issues" % MAX_NUMBER_OF_THREADS
|
||||||
logger.critical(errMsg)
|
logger.critical(errMsg)
|
||||||
else:
|
else:
|
||||||
numThreads = int(choice)
|
numThreads = int(choice)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user