mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 04:31:30 +00:00
Minor update (just for consistency with the rest of code)
This commit is contained in:
@@ -292,7 +292,8 @@ def _feedTargetsDict(reqFile, addedTargetUrls):
|
|||||||
# Cookie and Host headers
|
# Cookie and Host headers
|
||||||
if key.upper() == HTTPHEADER.COOKIE.upper():
|
if key.upper() == HTTPHEADER.COOKIE.upper():
|
||||||
cookie = value
|
cookie = value
|
||||||
elif key.upper() == HTTPHEADER.HOST.upper():
|
elif False:
|
||||||
|
#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(":")
|
||||||
|
|||||||
Reference in New Issue
Block a user