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

Skip to content

Commit eb1bfc2

Browse files
committed
Update related to the last commit
1 parent 2fe6aea commit eb1bfc2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/core/target.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,10 @@ def process(match, repl):
136136
conf.data = re.sub(r"(?si)(Content-Disposition.+?)((\r)?\n--)", r"\g<1>%s\g<2>" % CUSTOM_INJECTION_MARK_CHAR, conf.data)
137137
kb.postHint = POST_HINT.MULTIPART
138138

139+
if kb.postHint:
140+
if CUSTOM_INJECTION_MARK_CHAR not in conf.data: # in case that no usable parameter values has been found
141+
kb.postHint = None
142+
139143
if not kb.postHint:
140144
if CUSTOM_INJECTION_MARK_CHAR in conf.data: # later processed
141145
pass

0 commit comments

Comments
 (0)