mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
minor fix (-r required Content-Length which is a part of Burp log and as we share the parsing logic this was a headache for -r)
This commit is contained in:
parent
139448eeb9
commit
7c2b3afafb
|
@ -215,9 +215,11 @@ def __feedTargetsDict(reqFile, addedTargetUrls):
|
|||
|
||||
for line in lines:
|
||||
if len(line) == 0 or line == "\n":
|
||||
continue
|
||||
if method == HTTPMETHOD.POST:
|
||||
data = ""
|
||||
params = True
|
||||
|
||||
if line.startswith("GET ") or line.startswith("POST "):
|
||||
elif (line.startswith("GET ") or line.startswith("POST ")) and " HTTP/" in line:
|
||||
if line.startswith("GET "):
|
||||
index = 4
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user