mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-09 17:51:33 +00:00
Fixes #1337
This commit is contained in:
parent
713d5384bc
commit
c9d1c4d7b1
2 changed files with 3 additions and 3 deletions
|
|
@ -2280,10 +2280,9 @@ def findMultipartPostBoundary(post):
|
|||
candidates = []
|
||||
|
||||
for match in re.finditer(r"(?m)^--(.+?)(--)?$", post or ""):
|
||||
_ = re.search(r"\w+", match.group(1))
|
||||
_ = _.group(0) if _ else None
|
||||
_ = match.group(1).strip().strip('-')
|
||||
|
||||
if _ is None or _ in done:
|
||||
if _ in done:
|
||||
continue
|
||||
else:
|
||||
candidates.append((post.count(_), _))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue