mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 11:33:47 +03: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:
parent
6aa616bd0d
commit
ce48ea75d0
|
@ -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):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user