mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 21:21:33 +00:00
Minor patch for TRAFFIC messages
This commit is contained in:
@@ -608,7 +608,7 @@ class Connect(object):
|
||||
page = getUnicode(page)
|
||||
|
||||
code = ex.code
|
||||
status = getSafeExString(ex)
|
||||
status = getattr(ex, "reason", None) or getSafeExString(ex).split(": ")[-1]
|
||||
|
||||
kb.originalCode = kb.originalCode or code
|
||||
threadData.lastHTTPError = (threadData.lastRequestUID, code, status)
|
||||
|
||||
Reference in New Issue
Block a user