What should I do if the module database cache is not built yet?
Every time I update from git, the database is invalidated.
msf exploit(handler) > search xxx
[!] Module database cache not built yet, using slow search
How can I force the database to be built?
And in msfconsole, how can I check the database update status?
If you get a "[!] Module database cache not built yet, using slow search" error after updating. Once you disconnect the database connection, you can try to reconnect db.
1. msf > db_status
2. msf > db_disconnect
3. msf > db_status
4. msf > db_connect user:pass@127.0.0.1:5432/dbName
5. msf > db_rebuild_cache
6. msf > db_status
7. msf > search xxx
You can try version command maybe help
msf > version