mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 04:53:48 +03:00
Receiving some messages with a differerent header line
This commit is contained in:
parent
4c7da11331
commit
facc54f60b
|
@ -144,7 +144,7 @@ class Response:
|
||||||
altered = raw
|
altered = raw
|
||||||
comment = ""
|
comment = ""
|
||||||
|
|
||||||
if altered.startswith("HTTP response ["):
|
if altered.startswith("HTTP response [") or altered.startswith("HTTP redirect ["):
|
||||||
io = StringIO.StringIO(raw)
|
io = StringIO.StringIO(raw)
|
||||||
first_line = io.readline()
|
first_line = io.readline()
|
||||||
parts = cls.extract_status.search(first_line)
|
parts = cls.extract_status.search(first_line)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user