diff --git a/lib/core/settings.py b/lib/core/settings.py index 16605f611..f2d45e91b 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -18,7 +18,7 @@ from lib.core.enums import OS from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.4.9.3" +VERSION = "1.4.9.4" TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE) diff --git a/lib/parse/cmdline.py b/lib/parse/cmdline.py index 8fcd0df71..58c632f26 100644 --- a/lib/parse/cmdline.py +++ b/lib/parse/cmdline.py @@ -952,8 +952,8 @@ def cmdLineParser(argv=None): argv[i] = "" elif argv[i] in DEPRECATED_OPTIONS: argv[i] = "" - elif any(argv[i].startswith(_) for _ in ("--tamper",)): - key = re.search(r"\-\-(\w+)", argv[i]).group(1) + elif any(argv[i].startswith(_) for _ in ("--tamper", "--ignore-code", "--skip")): + key = re.search(r"\-?\-(\w+)\b", argv[i]).group(1) index = auxIndexes.get(key, None) if index is None: index = i if '=' in argv[i] else (i + 1 if i + 1 < len(argv) and not argv[i + 1].startswith('-') else None)