mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +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 = []
|
||||
|
||||
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)
|
||||
|
||||
return matches
|
||||
|
|
Loading…
Reference in New Issue
Block a user