mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-16 19:40:37 +03:00
added optimization switch (-o)
This commit is contained in:
parent
bfffd5e333
commit
6259114c02
|
@ -96,6 +96,10 @@ def start():
|
|||
if not conf.start:
|
||||
return
|
||||
|
||||
if conf.optimize:
|
||||
conf.useCommonPrediction = conf.useNullConnection = True
|
||||
|
||||
|
||||
if conf.smokeTest:
|
||||
smokeTest()
|
||||
|
||||
|
|
|
@ -467,6 +467,9 @@ def cmdLineParser():
|
|||
parser.add_option("--null-connection", dest="useNullConnection", action="store_true",
|
||||
help=SUPPRESS_HELP)
|
||||
|
||||
parser.add_option("-o", dest="optimize", action="store_true",
|
||||
help=SUPPRESS_HELP)
|
||||
|
||||
parser.add_option("--smoke-test", dest="smokeTest", action="store_true",
|
||||
help=SUPPRESS_HELP)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user