Home >Database >Mysql Tutorial >msf连接数据库

msf连接数据库

WBOY
WBOYOriginal
2016-06-07 15:29:582133browse

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

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:PADS2007小技巧收集Next article:迁移数据库文件