zoukankan      html  css  js  c++  java
  • deepin安装metasploit

    [1]安装metasploit


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

    2、chmod 755 msfinstall

    3、./msfinstall

    依次执行上面的三条命令即可安装成功。

    [2]安装postgresql数据库


    安装数据库的时候会自动创建系统用户postgres,数据库用户postgres,数据库postgres

    1、apt-get install postgresql    //安装postgresql数据库

    2、su - postgres                       //切换到postgres用户

    3、psql                                     //登陆postgresql数据库,首次登陆没有密码

    4、password postgres             //修改数据库用户postgres的密码


    [3] msf使用数据库

    1、msfconsole                                                              //启动msf

    2、db_connect postgres:hehehe@127.0.0.1/test         //用户名,密码,地址,自己随意编造的名字。

    3、db_status                                                                //查看数据库连接状态

  • 相关阅读:
    [TJOI2007]小朋友
    弦图小结
    Bzoj2141: 排队
    [SYZOI Round1] 滑稽♂树
    Bzoj2244: [SDOI2011]拦截导弹
    Bzoj1492: [NOI2007]货币兑换Cash(不单调的斜率优化)
    Bzoj1495: [NOI2006]网络收费
    Bzoj1496: [NOI2006]千年虫
    Bzoj1498&1416: [NOI2006]神奇的口袋
    Bzoj4553: [Tjoi2016&Heoi2016]序列
  • 原文地址:https://www.cnblogs.com/nul1/p/8455241.html
Copyright © 2011-2022 走看看