windows 安装 metasploit-framework
- 下载metasploit-framework: https://www.metasploit.com/download
- 安装
- 执行
msfdb init
- 修改
C:\Users\用户名\.msf4\database.yml
-
修改前
development: &pgsql adapter: postgresql database: msf_database #修改了username, password username: msf password: 123 host: 127.0.0.1 port: 5432 pool: 200 production: &production <<: *pgsql test: <<: *pgsql database: msftest username: msftest password: XXXXXXXXXXXXXXXXXXXX
-
修改后
development: &pgsql adapter: postgresql database: msf_database #修改了username, password username: msftest password: XXXXXXXXXXXXXXXXXXXX host: 127.0.0.1 port: 5432 pool: 200 production: &production <<: *pgsql test: <<: *pgsql database: msftest username: msftest password: XXXXXXXXXXXXXXXXXXXX
-
- 更推荐直接使用kali