Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 605c5b0 commit f97f575Copy full SHA for f97f575
1 file changed
lib/core/target.py
@@ -88,16 +88,17 @@ def _setRequestParams():
88
conf.method = HTTPMETHOD.POST
89
90
def process(match, repl):
91
- if conf.testParameter and match.group("name") not in conf.testParameter:
92
- retVal = match.group(0)
93
- else:
+ retVal = match.group(0)
+
+ if not (conf.testParameter and match.group("name") not in conf.testParameter):
94
retVal = repl
95
while True:
96
_ = re.search(r"\\g<([^>]+)>", retVal)
97
if _:
98
retVal = retVal.replace(_.group(0), match.group(int(_.group(1)) if _.group(1).isdigit() else _.group(1)))
99
else:
100
break
101
102
return retVal
103
104
if re.search(JSON_RECOGNITION_REGEX, conf.data):
0 commit comments