Skip to content

Commit bb48dd0

Browse files
committed
Implements #5452
1 parent df388b2 commit bb48dd0

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

lib/core/settings.py

+1-1
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.7.6.6"
23+
VERSION = "1.7.7.0"
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

+3
Original file line numberDiff line numberDiff line change
@@ -1001,6 +1001,9 @@ def _format_action_invocation(self, action):
10011001
argv[i] = argv[i].replace("--auth-creds", "--auth-cred", 1)
10021002
elif argv[i].startswith("--drop-cookie"):
10031003
argv[i] = argv[i].replace("--drop-cookie", "--drop-set-cookie", 1)
1004+
elif re.search(r"\A--tamper[^=\s]", argv[i]):
1005+
argv[i] = ""
1006+
continue
10041007
elif re.search(r"\A(--(tamper|ignore-code|skip))(?!-)", argv[i]):
10051008
key = re.search(r"\-?\-(\w+)\b", argv[i]).group(1)
10061009
index = auxIndexes.get(key, None)

0 commit comments

Comments
 (0)