热搜:

metasploit怎么连接postgres数据库

2017-04-10 09:21:17文章来源:点点软件园热度:0

更多
Metasploit For Windows

Metasploit For Windows开源版3.7.0

类别:系统工具操作系统语言:简体中文授权:免费软件

  Metasploit下载是一款漏洞扫描和攻击研究工具,可用于极大地加强企业网络安全。下面为大家介绍metasploit怎么连接postgres数据库更多最新IT资讯尽在金顺软件园http://www.jinshun168.com/

软件名称:Metasploit For Windows
软件大小:145.87MB
下载地址:http://www.jinshun168.com/soft/42346.html

  metasploit中也默认使用postgres数据库,要连接数据库。首先查看数据库服务是否开启,shell命令:netstat -tnpl | grep postgres

  

f29faa8f8c5494ee0f5b4f322ff5e0fe99257e65.png

  记下端口,一会连接数据库时需要。在去查看postgres数据库用户名和密码在/opt/metasploit/config/database.yml这个配置文件中

  

6a22e8246b600c3333a29ee3184c510fd8f9a187.png

  进入metasploit命令行界面:使用命令db_connect 可连接数据库,具体命令:db_connect username:password@localhost:端口号/数据库名

  

42e89c26cffc1e17e66fcc1a4890f603728de98e.png

  输入db_status即可看到连接的数据库

adee30dda3cc7cd96e2477f23b01213fb80e9155.png

    金顺软件园小编推荐:


    Metasploit For Windows安装方法

以上,就是金顺软件园小编给大家带来的metasploit怎么连接postgres数据库全部内容,希望对大家有所帮助!

上一篇魅蓝5X怎么智能识别陌生号码下一篇metasploit怎样生成木马后门
编辑:砕月