mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 04:31:30 +00:00
noticed that google search page sometimes contain double html escaped links - double htmlunescape solves the problem, while dealing no harm to single html escaped links
This commit is contained in:
@@ -59,7 +59,7 @@ class Google:
|
|||||||
|
|
||||||
for match in self.__matches:
|
for match in self.__matches:
|
||||||
if re.search("(.*?)\?(.+)", match, re.I):
|
if re.search("(.*?)\?(.+)", match, re.I):
|
||||||
kb.targetUrls.add(( htmlunescape(match), None, None, None ))
|
kb.targetUrls.add(( htmlunescape(htmlunescape(match)), None, None, None ))
|
||||||
|
|
||||||
def getCookie(self):
|
def getCookie(self):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user