I was using the python3 version of NoSQLMap by nemzyxt but encountered a bug: TypeError: 'Database' object is not callable
Do you have an idea for a solution?
No clue
How can we reproduce the issue?
run NoSQLMap
select option 1
fill out 1234 and 7 using a Public website (I temporarily made my own for practice)
press "x"
press "2"
What are the running context details?
Installation method: git clone and then git checkout for the commit
Client OS: Microsoft Windows 11
Program version: v0.7 nemzyxt commit
Target DBMS: Mongo
Exception traceback (if any):
Traceback (most recent call last):
File "C:\Users\momin\NoSQLMap\nosqlmap.py", line 544, in
main(args)
File "C:\Users\momin\NoSQLMap\nosqlmap.py", line 47, in main
mainMenu()
File "C:\Users\momin\NoSQLMap\nosqlmap.py", line 86, in mainMenu
nsmmongo.netAttacks(victim, dbPort, myIP, myPort)
File "C:\Users\momin\NoSQLMap\nsmmongo.py", line 37, in netAttacks
needCreds = mongoScan(target,dbPort,False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\momin\NoSQLMap\nsmmongo.py", line 405, in mongoScan
dbList = conn.database_names()
^^^^^^^^^^^^^^^^^^^^^
TypeError: 'Database' object is not callable
What's the problem (or question)?
I was using the python3 version of NoSQLMap by nemzyxt but encountered a bug: TypeError: 'Database' object is not callable
Do you have an idea for a solution?
No clue
How can we reproduce the issue?
What are the running context details?