您的位置:首页 > 编程语言 > ASP

ubuntu16.04安装metasploit+postgresql

2020-01-15 11:05 1981 查看

 

 

进入到程序想要安装的位置

cd /opt

然后下载安装脚本

curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall

给予执行权限

chmod 755 msfinstall

安装

./msfinstall

 

postgresql安装

sudo apt-get install postgresql

更改 postgres 账户的密码(在你不知道密码的情况下)

sudo passwd postgres

会提示你输入新的密码

你输入的输入后 回车 将会更改postgres账户的密码

然后在postgres账户下运行

psql

输入

\password

会提示你输入新密码

以更改数据库的密码

 

安装apache

sudo apt-get install apache2

安装安装pgadmin

sudo apt-get install phppgadmin

登录到

http://127.0.0.1/phppgadmin/

可浏览数据库情况

 

转载于:https://www.cnblogs.com/lfoder/p/5964262.html

  • 点赞
  • 收藏
  • 分享
  • 文章举报
abc5578786 发布了0 篇原创文章 · 获赞 0 · 访问量 192 私信 关注
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: