diff --git a/lib/core/target.py b/lib/core/target.py index 587ac2919..8aa837d07 100644 --- a/lib/core/target.py +++ b/lib/core/target.py @@ -136,6 +136,10 @@ def _setRequestParams(): conf.data = re.sub(r"(?si)(Content-Disposition.+?)((\r)?\n--)", r"\g<1>%s\g<2>" % CUSTOM_INJECTION_MARK_CHAR, conf.data) kb.postHint = POST_HINT.MULTIPART + if kb.postHint: + if CUSTOM_INJECTION_MARK_CHAR not in conf.data: # in case that no usable parameter values has been found + kb.postHint = None + if not kb.postHint: if CUSTOM_INJECTION_MARK_CHAR in conf.data: # later processed pass