Metasploitのアップデート
提供: セキュリティ
2013年12月21日 (土) 17:09時点におけるDaemon (トーク | 投稿記録)による版 (ページの作成:「Metasploitのアップデート方法は、説明します。 __TOC__ == Kali Linux == Kali Linuxでは、msfupdateを使用します。 <syntaxhighlight lang...」)
スポンサーリンク
Metasploitのアップデート方法は、説明します。
Kali Linux
Kali Linuxでは、msfupdateを使用します。
/opt/metasploit/app/msfupdate
実行例
root@kali:~# msfupdate [*] [*] Attempting to update the Metasploit Framework... [*] [*] Checking for updates via the APT repository [*] Note: expect weekly(ish) updates using this method [*] Updating to version 4.8.2-2013121801-1kali0 Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be upgraded: metasploit metasploit-framework 2 upgraded, 0 newly installed, 0 to remove and 504 not upgraded. Need to get 230 MB of archives. After this operation, 25.2 MB of additional disk space will be used. Get:1 http://http.kali.org/kali/ kali/main metasploit-framework i386 4.8.2-2013121801-1kali0 [66.9 MB] Get:2 http://http.kali.org/kali/ kali/non-free metasploit i386 4.8.2-2013121801-1kali0 [163 MB] Fetched 230 MB in 14min 54s (257 kB/s) Reading changelogs... Done (Reading database ... 254751 files and directories currently installed.) Preparing to replace metasploit-framework 4.7.2-2013110601-1kali0 (using .../metasploit-framework_4.8.2-2013121801-1kali0_i386.deb) ... Unpacking replacement metasploit-framework ... Preparing to replace metasploit 4.7.2-2013110601-1kali0 (using .../metasploit_4.8.2-2013121801-1kali0_i386.deb) ... [ ok ] Stopping Metasploit worker: worker. [ ok ] Stopping Metasploit web server: thin. [ ok ] Stopping Metasploit rpc server: prosvc. Leaving 'diversion of /usr/bin/msfbinscan to /usr/bin/msfbinscan.framework by metasploit' Leaving 'diversion of /usr/bin/msfcli to /usr/bin/msfcli.framework by metasploit' Leaving 'diversion of /usr/bin/msfconsole to /usr/bin/msfconsole.framework by metasploit' Leaving 'diversion of /usr/bin/msfd to /usr/bin/msfd.framework by metasploit' Leaving 'diversion of /usr/bin/msfelfscan to /usr/bin/msfelfscan.framework by metasploit' Leaving 'diversion of /usr/bin/msfencode to /usr/bin/msfencode.framework by metasploit' Leaving 'diversion of /usr/bin/msfmachscan to /usr/bin/msfmachscan.framework by metasploit' Leaving 'diversion of /usr/bin/msfpayload to /usr/bin/msfpayload.framework by metasploit' Leaving 'diversion of /usr/bin/msfpescan to /usr/bin/msfpescan.framework by metasploit' Leaving 'diversion of /usr/bin/msfrop to /usr/bin/msfrop.framework by metasploit' Leaving 'diversion of /usr/bin/msfrpc to /usr/bin/msfrpc.framework by metasploit' Leaving 'diversion of /usr/bin/msfrpcd to /usr/bin/msfrpcd.framework by metasploit' Leaving 'diversion of /usr/bin/msfupdate to /usr/bin/msfupdate.framework by metasploit' Leaving 'diversion of /usr/bin/msfvenom to /usr/bin/msfvenom.framework by metasploit' Unpacking replacement metasploit ... Setting up metasploit-framework (4.8.2-2013121801-1kali0) ... Setting up metasploit (4.8.2-2013121801-1kali0) ... insserv: warning: current start runlevel(s) (empty) of script `metasploit' overrides LSB defaults (2 3 4 5). insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `metasploit' overrides LSB defaults (0 1 6). [ ok ] Starting PostgreSQL 9.1 database server: main. [ ok ] Starting Metasploit rpc server: prosvc. [ ok ] Starting Metasploit web server: thin. [ ok ] Starting Metasploit worker: worker.
FreeBSD の場合
FreeBSDでは、ファイルの更新には、svn コマンドが必要です。
% cd /usr/local/share/metasploit % sudo svn upgrade % msfconsole
関連項目
ツイート
スポンサーリンク