ubuntu16.04安装metasploit+postgresql

暗月博客 2019年11月21日21:44:03评论400 views字数 667阅读2分13秒阅读模式
摘要

1、安装msf 1.1、打开终端,进入安装目录(你想放在哪就进哪 cd /opt curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall

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

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
暗月博客
  • 本文由 发表于 2019年11月21日21:44:03
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   ubuntu16.04安装metasploit+postgresqlhttp://cn-sec.com/archives/73048.html

发表评论

匿名网友 填写信息