metasploit - install

the easy way


deprecated – rather go for the full-blown install


warning

this does not necessarily suit – check if your current debian version is actually packaged for

http://downloads.metasploit.com/data/releases/metasploit-framework/apt


wget https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb
mv -i msfupdate.erb msfinstall
chmod +x msfinstall

apt install gnupg1
./msfinstall

eventually fix the key-store (apt-key deprecated)

    apt-key list | less # /metasploit
    apt-key del 2007B954

setup pubkey properly

    cd /usr/share/keyrings/
    wget https://apt.metasploit.com/metasploit-framework.gpg.key
    gpg1 --dearmor < metasploit-framework.gpg.key > metasploit-framework.gpg
vi /etc/apt/sources.list.d/metasploit-framework.list
deb [signed-by=/usr/share/keyrings/metasploit-framework.gpg] http://downloads.metasploit.com/data/releases/metasploit-framework/apt bookworm main

resources

https://docs.metasploit.com/docs/using-metasploit/getting-started/nightly-installers.html

https://github.com/rapid7/metasploit-omnibus


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