ubuntu16.04安装metasploit+postgresql

 

 

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

cd /opt

而后下载安装脚本git

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

给予执行权限github

chmod 755 msfinstall

安装sql

./msfinstall

 

postgresql安装数据库

sudo apt-get install postgresql  

更改 postgres 帐户的密码(在你不知道密码的状况下)apache

sudo passwd postgres

会提示你输入新的密码api

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

而后在postgres帐户下运行curl

psql

输入post

\password 

会提示你输入新密码

以更改数据库的密码

 

安装apache

sudo apt-get install apache2

安装安装pgadmin

sudo apt-get install phppgadmin

登陆到

http://127.0.0.1/phppgadmin/

可浏览数据库状况

相关文章
相关标签/搜索