mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-05-09 02:03:46 +03:00
updating google parsing regex (for the better, of course)
This commit is contained in:
parent
d97e97d884
commit
e8bef28337
|
@ -45,7 +45,7 @@ class Google:
|
||||||
|
|
||||||
matches = []
|
matches = []
|
||||||
|
|
||||||
regExpr = "li class=\042?g\042?\076.+?a href=\042(http[s]*://.+?)\042\sclass=\042?l\042?"
|
regExpr = r'h3 class="?r"?><a href="(http[s]*://.+?)"\sclass="?l"?'
|
||||||
matches = re.findall(regExpr, page, re.I | re.M)
|
matches = re.findall(regExpr, page, re.I | re.M)
|
||||||
|
|
||||||
return matches
|
return matches
|
||||||
|
|
Loading…
Reference in New Issue
Block a user