mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-16 19:40:37 +03:00
added --null-connection as an experimental option
This commit is contained in:
parent
975b96ae28
commit
bfffd5e333
|
@ -166,7 +166,8 @@ def start():
|
||||||
if not checkConnection() or not checkString() or not checkRegexp():
|
if not checkConnection() or not checkString() or not checkRegexp():
|
||||||
continue
|
continue
|
||||||
|
|
||||||
checkNullConnection()
|
if conf.useNullConnection:
|
||||||
|
checkNullConnection()
|
||||||
|
|
||||||
if not conf.dropSetCookie:
|
if not conf.dropSetCookie:
|
||||||
for _, cookie in enumerate(conf.cj):
|
for _, cookie in enumerate(conf.cj):
|
||||||
|
|
|
@ -464,6 +464,9 @@ def cmdLineParser():
|
||||||
parser.add_option("--common-prediction", dest="useCommonPrediction", action="store_true",
|
parser.add_option("--common-prediction", dest="useCommonPrediction", action="store_true",
|
||||||
help=SUPPRESS_HELP)
|
help=SUPPRESS_HELP)
|
||||||
|
|
||||||
|
parser.add_option("--null-connection", dest="useNullConnection", action="store_true",
|
||||||
|
help=SUPPRESS_HELP)
|
||||||
|
|
||||||
parser.add_option("--smoke-test", dest="smokeTest", action="store_true",
|
parser.add_option("--smoke-test", dest="smokeTest", action="store_true",
|
||||||
help=SUPPRESS_HELP)
|
help=SUPPRESS_HELP)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user