Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69259c5 commit 1af6898Copy full SHA for 1af6898
1 file changed
lib/core/option.py
@@ -134,10 +134,12 @@ def __feedTargetsDict(reqFile, addedTargetUrls):
134
135
getPostReq = True
136
137
+ # GET parameters
138
elif "?" in line and "=" in line and ": " not in line:
139
data = line
140
params = True
141
142
+ # Cookie and Host headers
143
elif ": " in line:
144
key, value = line.split(": ", 1)
145
@@ -146,6 +148,11 @@ def __feedTargetsDict(reqFile, addedTargetUrls):
146
148
elif key.lower() == "host":
147
149
host = value
150
151
+ # POST parameters
152
+ elif method is not None and method == "POST" and "=" in line:
153
+ data = line
154
+ params = True
155
+
156
if getPostReq and params:
157
if not url.startswith("http"):
158
url = "http://%s%s" % (host, url)
0 commit comments