mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
Minor refactoring
This commit is contained in:
parent
10b0fd21dc
commit
ea12ccec77
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user