kali2.0 metasploit安装

版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/weixin_40943540/article/details/83316998

我的kali竟然没有metasploit,我非常的奇怪,所以我就安装了。

1.一条代码就可以安装了

apt-get install metasploit-framework

2.安装完成后,

  • 首先启动postgresql数据库:
/etc/init.d/postgresql start;或者 service postgresql start
  • 设置postgresql开机自启
update-rc.d postgresql enable
  • 初始化MSF数据库(关键步骤!):
msfdb init

msfdb init(默认创建数据库名:msf,msf_test,用户;msf;默认口令为零;

运行msfconsole

msfconsole

msf中查看数据库连接状态:

db_status
posted @ 2023-06-29 11:00  ghostmen  阅读(70)  评论(0编辑  收藏  举报