• Debian7安装msf


     
    安装metasploit
    
    curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall
    
    chmod 755 msfinstall && ./msfinstall
    安装postgresql数据库
    
    安装数据库的时候会自动创建系统用户postgres,数据库用户postgres,数据库postgres
    
    apt-get install postgresql    # 安装postgresql数据库
    sudo passwd postgres        # 修改postgres的密码
    su - postgres                    # 切换到postgres用户
    psql                                # 登陆postgresql数据库,首次登陆没有密码
    password postgres            # 修改数据库用户postgres的密码
    msf使用数据库
    
    msfconsole              #启动msf
    db_connect postgres:hehehe@127.0.0.1/msfdb
    db_status                # 查看数据库连接状态

    再按照上述教程成功

  • 相关阅读:
    第四次作业
    第三次作业
    第二次作业。
    国庆作业。
    实验2-4
    实验2-3
    实验2-2
    实验2-1
    实验1-3
    实验 1-1
  • 原文地址:https://www.cnblogs.com/Rcsec/p/8653387.html
Copyright © 2020-2023  润新知