mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Minor refactoring
This commit is contained in:
@@ -278,7 +278,7 @@ def __feedTargetsDict(reqFile, addedTargetUrls):
|
|||||||
params = True
|
params = True
|
||||||
|
|
||||||
# Headers
|
# Headers
|
||||||
elif ": " in line:
|
elif re.search(r"\A\S+: ", line):
|
||||||
key, value = line.split(": ", 1)
|
key, value = line.split(": ", 1)
|
||||||
|
|
||||||
# Cookie and Host headers
|
# Cookie and Host headers
|
||||||
|
|||||||
Reference in New Issue
Block a user