译:c4bbage@H_403_2@
@H_403_2@Metasploit Framework建议用的数据库是Postgresql。@H_403_2@
注意:如果你正在考虑@H_403_2@手动@H_403_2@安装Postgres,你可能要考虑自动化的安装程序。自动化安装程序安装和配置也能满足Metasploit框架的要求的。@H_403_2@ 安装@H_403_2@ 如果你已经安装了Postgres数据库和库,你可以地跳过这一节。@H_403_2@ 在Ubuntu:@H_403_2@ @H_403_2@ @H_403_2@@H_403_2@
您可能还需要以下的包的部分或者全部:@H_403_2@
@H_403_2@
@H_403_2@
1 | #apt-getlibreadline-dev libssl-dev libpq5 ruby-dev |
对于其他平台,请参阅发行版的安装Postgres的文档。@H_403_2@
@H_403_2@
进入postgres user:@H_403_2@
@H_403_2@
@H_403_2@
postgres@cunlide.com:$ createuser msf4 -P
Enter passwordfor new role: |
3 | Enter it again: |
4 | Shall the new role be a superuser? (y/n) n |
5 | Shall the new role be allowed to create databases? (y/n) n |
6 | Shall the new role be allowed to createmore new roles? (y/n) n |