mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Code cleanup
This commit is contained in:
parent
72f3674844
commit
d00e4a458a
10 changed files with 19 additions and 18 deletions
|
|
@ -39,11 +39,10 @@ class Google:
|
|||
line option '-g <google dork>'
|
||||
"""
|
||||
|
||||
def __init__(self, proxyHandler):
|
||||
self.__googleCookie = None
|
||||
def __init__(self, proxy):
|
||||
self.__matches = []
|
||||
self.__cj = cookielib.LWPCookieJar()
|
||||
self.opener = urllib2.build_opener(proxyHandler, urllib2.HTTPCookieProcessor(self.__cj))
|
||||
self.opener = urllib2.build_opener(proxy, urllib2.HTTPCookieProcessor(self.__cj))
|
||||
self.opener.addheaders = conf.httpHeaders
|
||||
|
||||
def __parsePage(self, page):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue