Skip to content

Commit 30c741d

Browse files
committed
Fixed crash when GridFS can't see any DBs
1 parent 3e9b57e commit 30c741d

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
@@ -363,6 +363,7 @@ def netAttacks(target):
363363
#This is a global for future use with other modules; may change
364364
global dbList
365365
global dbPort
366+
dbList = []
366367

367368
srvNeedCreds = raw_input("Does the database server need credentials (y/n)? ")
368369

0 commit comments

Comments
 (0)