mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
Receiving some messages with a differerent header line
This commit is contained in:
@@ -144,7 +144,7 @@ class Response:
|
||||
altered = raw
|
||||
comment = ""
|
||||
|
||||
if altered.startswith("HTTP response ["):
|
||||
if altered.startswith("HTTP response [") or altered.startswith("HTTP redirect ["):
|
||||
io = StringIO.StringIO(raw)
|
||||
first_line = io.readline()
|
||||
parts = cls.extract_status.search(first_line)
|
||||
|
||||
Reference in New Issue
Block a user