mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Minor patch for TRAFFIC messages
This commit is contained in:
parent
7c7ecc75ec
commit
6dc37628a0
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue