Minor parsing syntax adjustment due to sligh differences between Burp 1.2 lite and professional editions

This commit is contained in:
Bernardo Damele 2009-06-03 15:26:18 +00:00
parent c7b72abc0e
commit 966f34f381

View File

@ -100,7 +100,7 @@ def __feedTargetsDict(reqFile, addedTargetUrls):
for request in reqResList:
if scheme is None:
scheme = re.search("\d\d\:\d\d\:\d\d\s+(http[\w]*)\:", request, re.I)
scheme = re.search("\d\d[\:|\.]\d\d[\:|\.]\d\d\s+(http[\w]*)\:", request, re.I)
if scheme:
scheme = scheme.group(1)