mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
minor change (conf.updateAll to conf.update)
This commit is contained in:
parent
402c1b622e
commit
5edba2ffbc
|
@ -155,7 +155,7 @@ optDict = {
|
|||
"flushSession": "boolean",
|
||||
"forms": "boolean",
|
||||
"eta": "boolean",
|
||||
"updateAll": "boolean",
|
||||
"update": "boolean",
|
||||
"batch": "boolean"
|
||||
},
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ from lib.core.subprocessng import pollProcess
|
|||
from lib.request.connect import Connect as Request
|
||||
|
||||
def update():
|
||||
if not conf.updateAll:
|
||||
if not conf.update:
|
||||
return
|
||||
|
||||
rootDir = paths.SQLMAP_ROOT_PATH
|
||||
|
|
|
@ -467,7 +467,7 @@ def cmdLineParser():
|
|||
help="Display for each output the "
|
||||
"estimated time of arrival")
|
||||
|
||||
general.add_option("--update", dest="updateAll",
|
||||
general.add_option("--update", dest="update",
|
||||
action="store_true", default=False,
|
||||
help="Update sqlmap")
|
||||
|
||||
|
@ -554,7 +554,7 @@ def cmdLineParser():
|
|||
(args, _) = parser.parse_args(args)
|
||||
|
||||
if not args.direct and not args.url and not args.list and not args.googleDork and not args.configFile\
|
||||
and not args.requestFile and not args.updateAll and not args.smokeTest and not args.liveTest\
|
||||
and not args.requestFile and not args.update and not args.smokeTest and not args.liveTest\
|
||||
and not args.realTest:
|
||||
errMsg = "missing a mandatory parameter ('-d', '-u', '-l', '-r', '-g', '-c' or '--update'), "
|
||||
errMsg += "-h for help"
|
||||
|
|
|
@ -514,7 +514,7 @@ eta = False
|
|||
|
||||
# Update sqlmap.
|
||||
# Valid: True or False
|
||||
updateAll = False
|
||||
update = False
|
||||
|
||||
# Never ask for user input, use the default behaviour.
|
||||
# Valid: True or False
|
||||
|
|
Loading…
Reference in New Issue
Block a user