mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 13:03:50 +03:00
Minor update (just for consistency with the rest of code)
This commit is contained in:
parent
9ce2395405
commit
979e108c87
|
@ -290,9 +290,9 @@ def _feedTargetsDict(reqFile, addedTargetUrls):
|
||||||
key, value = line.split(": ", 1)
|
key, value = line.split(": ", 1)
|
||||||
|
|
||||||
# Cookie and Host headers
|
# Cookie and Host headers
|
||||||
if key.lower() == "cookie":
|
if key.upper() == HTTPHEADER.COOKIE.upper():
|
||||||
cookie = value
|
cookie = value
|
||||||
elif key.lower() == "host":
|
elif key.upper() == HTTPHEADER.HOST.upper():
|
||||||
if '://' in value:
|
if '://' in value:
|
||||||
scheme, value = value.split('://')[:2]
|
scheme, value = value.split('://')[:2]
|
||||||
splitValue = value.split(":")
|
splitValue = value.split(":")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user