metasploit - maintenance

metasploit | install | maintenance | discovery

payload | handler | session

    apt update
    apt full-upgrade
    apt autoremove --purge

    #ruby -v
    gem update --system
    gem install bundler

    cd /opt/metasploit-framework/
    git pull
    bundle update --bundler
    bundle exec gem --version
    bundle install
    #gem install bundler:1.17.3
    yard config --gem-install-yri

and finally (may be redundant with the above)

    echo $USER@$HOSTNAME
    git config --global user.name "$USER@$HOSTNAME"
    git config --global user.email "$USER@$HOSTNAME"

    msfupdate

    chown -R msf:users /opt/metasploit-framework* /home/msf/
    su - msf

resources

Update to the Metasploit Updates and msfupdate https://blog.rapid7.com/2013/01/17/metasploit-updates-and-msfupdate/


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun