kaili linux 关于Metasploit的一些问题

来源:互联网 发布:侠客风云传优化工具 编辑:程序博客网 时间:2024/05/17 01:44
1.如何升级Metasploit??
我的办法是卸载掉原先的Metasploit,直接下载最新版安装即可
        下载地址:
Windows 64bit http://downloads.metasploit.com/data/releases/metasploit-latest-windows-installer.exe
Windows 32bit http://downloads.metasploit.com/data/releases/metasploit-latest-windows-installer.exe
Linux 64bit http://downloads.metasploit.com/data/releases/metasploit-latest-linux-x64-installer.run
Linux 32bit http://downloads.metasploit.com/data/releases/metasploit-latest-linux-installer.run



2.  Metasploit启动时Failed to connect to the database
启动Metasploit时,提示Failed to connect to the database: could not connect to server: Connection refused Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port 5432?
原因:Metasploit 需要连接postgresql 数据库,数据库没有开启,开启数据库之后就好了。
解决办法:msf > service postgresql start   或者  root@kali64:~# service postgresql start
数据库开启了 监听5432


重新启动Metasploit 即可
Metasploit  连接到了  postgresql 数据库


再把postgresql添加到开机启动 update-rc.d postgresql enable
添加到了开机启动





阅读全文
0 0