adding Beautifulsoup (BSD) into extras; adding --crawl to options

This commit is contained in:
Miroslav Stampar
2011-06-20 11:32:30 +00:00
parent 8c04aa871a
commit 07e2c72943
9 changed files with 2168 additions and 3 deletions

View File

@@ -60,7 +60,7 @@ class Google:
"""
for match in self.__matches:
if re.search(r"(.*?)\?(.+)", match, re.I):
if re.search(r"(.*?)\?(.+)", match):
kb.targetUrls.add(( htmlunescape(htmlunescape(match)), None, None, None ))
elif re.search(URI_INJECTABLE_REGEX, match, re.I):
kb.targetUrls.add(( htmlunescape(htmlunescape("%s" % match)), None, None, None ))