Skip to content

Commit 88028ca

Browse files
tcstooltcstool
authored andcommitted
Added header row for CSV output
1 parent 7b8063c commit 88028ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nosqlmap.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1640,6 +1640,7 @@ def massMongo():
16401640
outCounter = 0
16411641
try:
16421642
fo = open(savePath, "wb")
1643+
fo.write("IP Address,MongoDB Version\n")
16431644
for server in success:
16441645
fo.write(server + "," + versions[outCounter] + "\n" )
16451646
outCounter += 1

0 commit comments

Comments
 (0)