Metasploit:模块数据库caching尚未构build,使用慢速search

kalilinux 2016新版metasploit(最新版本)

systemctl start postgresql OK 

在msfconsole上

 msf > db_status [*] postgresql connected to msf 

当我启动search

 msf > search samba [!] Module database cache not built yet, using slow search 

所以我重buildcaching…

 msf > db_rebuild_cache 

而当我启动search

 msf > search samba [!] Module database cache not built yet, using slow search 

奇怪!如何解决这个问题?

我解决了这个错误:

  1. 打开msfconsole
  2. 键入git init

DONE

你有必要input:

 service postgresql start 

(你已经完成了这个)

 msfdb init 

(我想你错过了这个)

 db_rebuild_cache 

(然后在msfconsole中)

应该可以。