Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4ebd59a

Browse files
committed
Fixed loading options from file
1 parent 2387f6b commit 4ebd59a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

‎nosqlmap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,11 +405,11 @@ def options():
405405

406406
elif select == "0":
407407
loadPath = raw_input("Enter file name to load: ")
408-
cvsOpt = []
408+
csvOpt = []
409409
try:
410410
with open(loadPath,"r") as fo:
411411
for line in fo:
412-
cvsOpt.append(line.rstrip())
412+
csvOpt.append(line.rstrip())
413413
except IOError as e:
414414
print "I/O error({0}): {1}".format(e.errno, e.strerror)
415415
raw_input("error reading file. Press enter to continue...")

‎saved_options.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
10.11.1.237,443,/cgi-bin/mongo/2.2.3/dbparse.py,POST,Not Set,Not Set,OFF,ON,
2+
{'CompanyName': 'test'},
3+
{}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /