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

Skip to content

Commit 093b36f

Browse files
committed
Minor patch
1 parent a9de513 commit 093b36f

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

lib/core/settings.py

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

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

lib/core/target.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def _setRequestParams():
111111
def process(match, repl):
112112
retVal = match.group(0)
113113

114-
if not (conf.testParameter and match.group("name") not in [removePostHintPrefix(_) for _ in conf.testParameter]):
114+
if not (conf.testParameter and match.group("name") not in [removePostHintPrefix(_) for _ in conf.testParameter]) and match.group("name") == match.group("name").strip('\\'):
115115
retVal = repl
116116
while True:
117117
_ = re.search(r"\\g<([^>]+)>", retVal)
@@ -121,6 +121,7 @@ def process(match, repl):
121121
break
122122
if kb.customInjectionMark in retVal:
123123
hintNames.append((retVal.split(kb.customInjectionMark)[0], match.group("name")))
124+
124125
return retVal
125126

126127
if kb.processUserMarks is None and kb.customInjectionMark in conf.data:

0 commit comments

Comments
 (0)