mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 08:14:24 +03:00
Fixed regular expression to parse burp log file hosts' scheme/port
This commit is contained in:
parent
cfd8a83655
commit
5ac2b0658c
|
@ -101,7 +101,7 @@ def __feedTargetsDict(reqFile, addedTargetUrls):
|
|||
|
||||
for request in reqResList:
|
||||
if scheme is None:
|
||||
schemePort = re.search("\d\d[\:|\.]\d\d[\:|\.]\d\d\s+(http[\w]*)\:([\d]+)", request, re.I)
|
||||
schemePort = re.search("\d\d[\:|\.]\d\d[\:|\.]\d\d\s+(http[\w]*)\:\/\/.*?\:([\d]+)", request, re.I)
|
||||
|
||||
if schemePort:
|
||||
scheme = schemePort.group(1)
|
||||
|
|
Loading…
Reference in New Issue
Block a user