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

猜你喜欢

转载自j4s0nh4ck.iteye.com/blog/2102091
今日推荐