欢迎访问 生活随笔!

生活随笔

当前位置: 首页 >

ubuntu16.04安装metasploit+postgresql

发布时间:2023/11/29 101 豆豆
生活随笔 收集整理的这篇文章主要介绍了 ubuntu16.04安装metasploit+postgresql 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

ubuntu16.04安装metasploit+postgresql
1、安装msf

1.1、打开终端,进入安装目录(你想放在哪就进哪

cd /opt

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

1.2、chmod 755 msfinstall

1.3、./msfinstall

等它自动安装完毕,然后先不要启动,目前最新版的这个msf会问你要不要用自带到database,你想用自带到数据库就回车,想用自己到数据库就输入no回车

2、安装postgresql

2.1、apt-get install postgresql

2.2、su - postgres

2.3、psql

2.4、\password 123456

2.5、可忽略这一项,如果你喜欢用psql到话(纯命令),安装postgresql到管理工具

2.5.1、安装apache

apt-get install apache2

2.5.2、安装pgadmin

apt-get install phppgadmin

2.5.3、重启一下apache(好像也可以不用重启,我的什装好之后重启才能看到界面

/etc/init.d/apache2 restart

2.5.4、登录页面应该就可以浏览了

http://127.0.0.1/phppgadmin/

转载于:https://www.cnblogs.com/shamojituan/p/6731215.html

总结

以上是生活随笔为你收集整理的ubuntu16.04安装metasploit+postgresql的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。