mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 13:03:50 +03:00
minor update regarding last commit
This commit is contained in:
parent
042e3f76ba
commit
7411052456
|
@ -26,8 +26,8 @@ class SmartHTTPBasicAuthHandler(urllib2.HTTPBasicAuthHandler):
|
||||||
|
|
||||||
def http_error_auth_reqed(self, auth_header, host, req, headers):
|
def http_error_auth_reqed(self, auth_header, host, req, headers):
|
||||||
# Reset the retry counter once for each request.
|
# Reset the retry counter once for each request.
|
||||||
if req not in self.retried_req:
|
if hash(req) not in self.retried_req:
|
||||||
self.retried_req.append(req)
|
self.retried_req.append(hash(req))
|
||||||
self.retried = 0
|
self.retried = 0
|
||||||
return urllib2.HTTPBasicAuthHandler.http_error_auth_reqed(
|
return urllib2.HTTPBasicAuthHandler.http_error_auth_reqed(
|
||||||
self, auth_header, host, req, headers)
|
self, auth_header, host, req, headers)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user