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 e9d0506 commit a56e9a5Copy full SHA for a56e9a5
nosqlmap.py
@@ -367,9 +367,15 @@ def options():
367
myPort = optList[5]
368
verb = optList[6]
369
https = optList[7]
370
+
371
+ # saved headers position will depend of the request verb
372
+ headersPos= 1
373
374
if httpMethod == "POST":
375
postData = ast.literal_eval(csvOpt[1])
376
+ headersPos = 2
377
378
+ requestHeaders = ast.literal_eval(csvOpt[headersPos])
379
380
# Set option checking array based on what was loaded
381
x = 0
0 commit comments