Skip to content

Commit 3f53b2b

Browse files
committed
Fixes #5190
1 parent 9c103b3 commit 3f53b2b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from thirdparty.six import unichr as _unichr
2121

2222
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23-
VERSION = "1.6.10.0"
23+
VERSION = "1.6.10.1"
2424
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2525
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2626
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

lib/parse/cmdline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,7 @@ def _format_action_invocation(self, action):
986986
argv[i] = argv[i].replace("--auth-creds", "--auth-cred", 1)
987987
elif argv[i].startswith("--drop-cookie"):
988988
argv[i] = argv[i].replace("--drop-cookie", "--drop-set-cookie", 1)
989-
elif any(argv[i].startswith(_) for _ in ("--tamper", "--ignore-code", "--skip")):
989+
elif re.search(r"\A(--(tamper|ignore-code|skip))(?!-)", argv[i]):
990990
key = re.search(r"\-?\-(\w+)\b", argv[i]).group(1)
991991
index = auxIndexes.get(key, None)
992992
if index is None:

0 commit comments

Comments
 (0)