mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Some code refactoring
This commit is contained in:
parent
65b02d4ab0
commit
5f2bb88037
32 changed files with 233 additions and 261 deletions
|
|
@ -358,9 +358,8 @@ def errorUse(expression, dump=False):
|
|||
if " ORDER BY " in expression and (stopLimit - startLimit) > SLOW_ORDER_COUNT_THRESHOLD:
|
||||
message = "due to huge table size do you want to remove "
|
||||
message += "ORDER BY clause gaining speed over consistency? [y/N] "
|
||||
_ = readInput(message, default="N")
|
||||
|
||||
if _ and _[0] in ("y", "Y"):
|
||||
if readInput(message, default="N", boolean=True):
|
||||
expression = expression[:expression.index(" ORDER BY ")]
|
||||
|
||||
numThreads = min(conf.threads, (stopLimit - startLimit))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue