mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
fix for a google bug reported by Brandon E.
This commit is contained in:
@@ -28,6 +28,7 @@ import socket
|
||||
import urllib2
|
||||
|
||||
from lib.core.common import getUnicode
|
||||
from lib.core.convert import htmlunescape
|
||||
from lib.core.convert import urlencode
|
||||
from lib.core.data import conf
|
||||
from lib.core.data import kb
|
||||
@@ -71,7 +72,7 @@ class Google:
|
||||
|
||||
for match in self.__matches:
|
||||
if re.search("(.*?)\?(.+)", match, re.I):
|
||||
kb.targetUrls.add(( match, None, None, None ))
|
||||
kb.targetUrls.add(( htmlunescape(match), None, None, None ))
|
||||
|
||||
def getCookie(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user