mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Fixes #3630
This commit is contained in:
@@ -613,7 +613,7 @@ class Connect(object):
|
||||
page = getUnicode(page)
|
||||
|
||||
code = ex.code
|
||||
status = getattr(ex, "reason", None) or getSafeExString(ex).split(": ", 1)[-1]
|
||||
status = getUnicode(getattr(ex, "reason", None) or getSafeExString(ex).split(": ", 1)[-1])
|
||||
|
||||
kb.originalCode = kb.originalCode or code
|
||||
threadData.lastHTTPError = (threadData.lastRequestUID, code, status)
|
||||
|
||||
Reference in New Issue
Block a user