2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Metasploit frameworkのRPMをDNFでインストールするメモ

Last updated at Posted at 2025-02-06

一発で出てこなかったのでメモです

Fedora40で確認済み

sudo dnf config-manager --add-repo http://rpm.metasploit.com/
sudo dnf install metasploit-framework

libcrypt.so.1 が足りなかったので libxcrypt-compat をインストール

sudo dnf install libxcrypt-compat

/opt/metasploit-framework 配下にインストールされるので PATHも通す

#初回だけ実行
echo 'export PATH="$PATH:/opt/metasploit-framework/bin"' >> ~/.bash_profile
source ~/.bash_profile
msfdb init 

msfconsoleを実行
利用するlisten port/fileに応じて sudo

msfconsole
2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?