欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

msf连接数据库

程序员文章站 2022-06-01 21:20:10
...

root@kali:~# service postgresql start [ ok ] Starting PostgreSQL 9.1 database server: main. root@kali:~# service metasploit start [ ok ] Starting Metasploit rpc server: prosvc. [ ok ] Starting Metasploit web server: thin. [ ok ] Starting Me

root@kali:~# service postgresql start
[ ok ] Starting PostgreSQL 9.1 database server: main.
root@kali:~# service metasploit start
[ ok ] Starting Metasploit rpc server: prosvc.
[ ok ] Starting Metasploit web server: thin.
[ ok ] Starting Metasploit worker: worker.




msf > db_status

[*] postgresql connected to msf3


当然,kali已经自带了图形化命令

msf连接数据库

msf连接数据库
其实也就是执行了上面的两条命令



msf > db_connect postgres:toor@127.0.0.1/msf3