From 966f34f38111485d189c3d2ea6fb6db1cc38d514 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Wed, 3 Jun 2009 15:26:18 +0000 Subject: [PATCH] Minor parsing syntax adjustment due to sligh differences between Burp 1.2 lite and professional editions --- lib/core/option.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/option.py b/lib/core/option.py index 14716ea6e..c38f09148 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -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)