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/

可瀏覽數據庫狀況

相關文章
相關標籤/搜索