mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Patch for #5338
This commit is contained in:
parent
ca2f094e4a
commit
80dc67f85a
2 changed files with 2 additions and 2 deletions
|
|
@ -752,7 +752,7 @@ class Connect(object):
|
|||
|
||||
responseMsg += "[#%d] (%s %s):\r\n" % (threadData.lastRequestUID, code, status)
|
||||
|
||||
if responseHeaders:
|
||||
if responseHeaders and getattr(responseHeaders, "headers", None):
|
||||
logHeaders = "".join(getUnicode(responseHeaders.headers)).strip()
|
||||
|
||||
logHTTPTraffic(requestMsg, "%s%s\r\n\r\n%s" % (responseMsg, logHeaders, (page or "")[:MAX_CONNECTION_READ_SIZE]), start, time.time())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue