metasploit 连接数据库方法

1. /etc/init.d/postgres start
2. su postgres
3. psql
4. alter user postgres with password '111111';
5. CREATE DATABASE pentest WITH ENCODING = 'SQL_ASCII';
6. 退出postgres,使用msfconsole
db_connect postgres:[email protected]/pentest

你可能感兴趣的:(meta)