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 bf0f81b commit f62e73aCopy full SHA for f62e73a
nosqlmap.py
@@ -1015,9 +1015,12 @@ def stealDBs(myDB):
1015
return()
1016
1017
except:
1018
- #print str(sys.exc_info())
1019
- raw_input ("Something went wrong. Are you sure your MongoDB is running and options are set? Press enter to return...")
1020
- mainMenu()
+ if str(sys.exc_info()).find('text search not enabled') != -1:
+ raw_input("Database copied, but text indexing was not enabled on the target. Indexes not moved. Press enter to return...")
+ mainMenu()
1021
+ else:
1022
+ raw_input ("Something went wrong. Are you sure your MongoDB is running and options are set? Press enter to return...")
1023
1024
1025
def massMongo():
1026
global victim
0 commit comments