安装pgsql
1 | sudo apt-get install ruby |
修改pgsql用户密码
1 | sudo su postgres |
连接Pgsql
1 | sudo -u postgres psql -U postgres -d postgres -h 127.0.0.1 |
安装Metasploit
1 | curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall |