metasploit连接postgres数据库
metasploit中也默认使用postgres数据库,要连接数据库。首先查看数据库服务是否开启,shell命令:netstat -tnpl | grep postgres
进入metasploit命令行界面:使用命令db_connect 可连接数据库,具体命令:db_connect username:password@localhost:端口号/数据库名
metasploit中也默认使用postgres数据库,要连接数据库。首先查看数据库服务是否开启,shell命令:netstat -tnpl | grep postgres
进入metasploit命令行界面:使用命令db_connect 可连接数据库,具体命令:db_connect username:password@localhost:端口号/数据库名