mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 13:03:50 +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:
|
for line in lines:
|
||||||
if len(line) == 0 or line == "\n":
|
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 "):
|
if line.startswith("GET "):
|
||||||
index = 4
|
index = 4
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user