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 > db_connect postgres:toor@127.0.0.1/msf3