metasploit连接postgres数据库

 时间:2024-10-15 06:05:24

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

metasploit连接postgres数据库

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

metasploit连接postgres数据库

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

metasploit连接postgres数据库

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

  • 360软件管家如何下载龙神契约
  • 搭建FTP服务器
  • 【高端风冷】单塔挑战双塔,当U14S遇上D14
  • SSL证书生成:PFX与BKS格式转换
  • 远程桌面连接提示您的凭据不工作的解决办法
  • 热门搜索
    怎么清洗饮水机 怎么删除微博 月季花的养殖方法 邓丽君怎么去世的 面瘫是怎么引起的 上海健桥医院怎么样 烂嘴角的治疗方法 齐刘海怎么剪 牛肉怎么做好吃 让鼻子通气的最快方法