mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-10 02:01:57 +00:00
Fixes #3425
This commit is contained in:
parent
45c699e9cf
commit
37449262df
4 changed files with 15 additions and 13 deletions
|
|
@ -4598,9 +4598,8 @@ def parseRequestFile(reqFile, checkParams=True):
|
|||
reqResList = re.finditer(BURP_REQUEST_REGEX, content, re.I | re.S)
|
||||
|
||||
for match in reqResList:
|
||||
request = match if isinstance(match, basestring) else match.group(0)
|
||||
request = match if isinstance(match, basestring) else match.group(1)
|
||||
request = re.sub(r"\A[^\w]+", "", request)
|
||||
|
||||
schemePort = re.search(r"(http[\w]*)\:\/\/.*?\:([\d]+).+?={10,}", request, re.I | re.S)
|
||||
|
||||
if schemePort:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue