mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
Fix for crawler and redirection case
This commit is contained in:
@@ -117,9 +117,10 @@ class SmartRedirectHandler(urllib2.HTTPRedirectHandler):
|
||||
else:
|
||||
result = fp
|
||||
|
||||
threadData.lastRedirectURL = (threadData.lastRequestUID, redurl)
|
||||
|
||||
result.redcode = code
|
||||
result.redurl = redurl
|
||||
|
||||
return result
|
||||
|
||||
http_error_301 = http_error_303 = http_error_307 = http_error_302
|
||||
|
||||
Reference in New Issue
Block a user