Skip to content

Commit 7c7f177

Browse files
tcstooltcstool
tcstool
authored and
tcstool
committedJul 26, 2015
Tab Fixes
1 parent 8604102 commit 7c7f177

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed
 

‎nosqlmap.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def options():
167167
global mmSelect
168168
global dbPort
169169
global requestHeaders
170-
requestHeaders = {}
170+
requestHeaders = {}
171171

172172
#Set default value if needed
173173
if optionSet[0] == False:
@@ -287,6 +287,7 @@ def options():
287287
if httpMethod == "1":
288288
httpMethod = "GET"
289289
print "GET request set"
290+
requestHeaders = {}
290291
optionSet[3] = True
291292

292293
elif httpMethod == "2":
@@ -368,8 +369,8 @@ def options():
368369
httpMethod = optList[3]
369370
myIP = optList[4]
370371
myPort = optList[5]
371-
verb = optList[6]
372-
https = optList[7]
372+
verb = optList[6]
373+
https = optList[7]
373374

374375
if httpMethod == "POST":
375376
postData = ast.literal_eval(csvOpt[1])

0 commit comments

Comments
 (0)
Failed to load comments.