Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5edba2f

Browse files
committed
minor change (conf.updateAll to conf.update)
1 parent 402c1b6 commit 5edba2f

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

lib/core/optiondict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
"flushSession": "boolean",
156156
"forms": "boolean",
157157
"eta": "boolean",
158-
"updateAll": "boolean",
158+
"update": "boolean",
159159
"batch": "boolean"
160160
},
161161

lib/core/update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
from lib.request.connect import Connect as Request
3131

3232
def update():
33-
if not conf.updateAll:
33+
if not conf.update:
3434
return
3535

3636
rootDir = paths.SQLMAP_ROOT_PATH

lib/parse/cmdline.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ def cmdLineParser():
467467
help="Display for each output the "
468468
"estimated time of arrival")
469469

470-
general.add_option("--update", dest="updateAll",
470+
general.add_option("--update", dest="update",
471471
action="store_true", default=False,
472472
help="Update sqlmap")
473473

@@ -554,7 +554,7 @@ def cmdLineParser():
554554
(args, _) = parser.parse_args(args)
555555

556556
if not args.direct and not args.url and not args.list and not args.googleDork and not args.configFile\
557-
and not args.requestFile and not args.updateAll and not args.smokeTest and not args.liveTest\
557+
and not args.requestFile and not args.update and not args.smokeTest and not args.liveTest\
558558
and not args.realTest:
559559
errMsg = "missing a mandatory parameter ('-d', '-u', '-l', '-r', '-g', '-c' or '--update'), "
560560
errMsg += "-h for help"

sqlmap.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ eta = False
514514

515515
# Update sqlmap.
516516
# Valid: True or False
517-
updateAll = False
517+
update = False
518518

519519
# Never ask for user input, use the default behaviour.
520520
# Valid: True or False

0 commit comments

Comments
 (0)