終端啟動Metasploit,因為我此刻Source
Code,所以這樣啟動!
毗連數(shù)據(jù)庫
安裝要領(lǐng),執(zhí)行以下呼吁即可(請用ROOT執(zhí)行)。
deb http://ubuntu.mirror.cambrium.nl/ubuntu/ precise main universe 添加軟件源sudo apt-get install postgresql
sudo apt-get install rubygems libpq-dev
apt-get install libreadline-dev
apt-get install libssl-dev
apt-get install libpq5
apt-get install ruby-dev
sudo apt-get install libpq-dev
sudo gem install pg
設(shè)置數(shù)據(jù)庫
passwd postgres 修改postgres暗碼su postgres 進入數(shù)據(jù)庫
createuser xxx -P 建設(shè)xxx用戶(然后輸入暗碼,Y/N一直選擇N即可)
createdb --owner=user xxx 建設(shè)一個XXX數(shù)據(jù)庫
psql xxx 進入xxx數(shù)據(jù)庫
psql -l 列出數(shù)據(jù)庫
dropuser 刪除用戶
dropdb 刪除數(shù)據(jù)庫
,