mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 13:14:13 +03:00
fix for google searches
This commit is contained in:
parent
5f08b90b6c
commit
2dbd51e357
|
@ -48,10 +48,10 @@ class Google:
|
|||
|
||||
matches = []
|
||||
|
||||
regExpr = r'h3 class="?r"?><a href="(http[s]?://[^"]+?)"\sclass="?l"?'
|
||||
matches = re.findall(regExpr, page, re.I | re.M)
|
||||
regExpr = r'h3 class="?r"?><a href="(http[s]?://[^"]+?)"\s(class="?l"?|onmousedown=)'
|
||||
matches = re.findall(regExpr, page, re.I | re.S)
|
||||
|
||||
return matches
|
||||
return [match[0] for match in matches]
|
||||
|
||||
def getTargetUrls(self):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user