一、準備工作
<code>root@kali:~</code><code># apt-get update; apt-get upgrade; apt-get dist-upgrade</code>
二、擷取安裝
如下圖
<a href="https://s1.51cto.com/wyfs02/M02/8E/23/wKioL1i2ny3RQijlAAPBbTNiBM4395.png-wh_500x0-wm_3-wmp_4-s_1647314860.png" target="_blank"></a>
2、擷取免費版本的激活碼(Nessus Home),注冊帳号
<a href="https://s4.51cto.com/wyfs02/M02/8E/25/wKiom1i2n5rRF8dgAACz9hnm7SY766.png-wh_500x0-wm_3-wmp_4-s_2044789295.png" target="_blank"></a>
3、在注冊郵箱中獲得激活碼
4、注冊成功到達下載下傳頁面,下載下傳相應系統版本
<a href="https://s4.51cto.com/wyfs02/M01/8E/25/wKiom1i2oICQMYeZAAK8C2oHJUU115.png-wh_500x0-wm_3-wmp_4-s_3049166529.png" target="_blank"></a>
5、安裝
<code>1、這裡選擇Ubuntu的包,下載下傳後的包一定要MD5校驗下</code>
<code>2、安裝</code>
<code>root@kali:~/桌面</code><code># dpkg -i Nessus-6.10.2-debian6_amd64.deb </code>
<code>(正在讀取資料庫 ... 系統目前共安裝有 458910 個檔案和目錄。)</code>
<code>正準備解包 Nessus-6.10.2-debian6_amd64.deb ...</code>
<code>正在解包 nessus (6.10.2) ...</code>
<code>正在設定 nessus (6.10.2) ...</code>
<code>Unpacking Nessus Core Components...</code>
<code>nessusd (Nessus) 6.10.2 [build M20085] </code><code>for</code> <code>Linux</code>
<code>Copyright (C) 1998 - 2016 Tenable Network Security, Inc</code>
<code>Processing the Nessus plugins...</code>
<code>[</code><code>##################################################]</code>
<code>All plugins loaded (1sec)</code>
<code> </code><code>- You can start Nessus by typing </code><code>/etc/init</code><code>.d</code><code>/nessusd</code> <code>start</code>
<code> </code><code>- Then go to https:</code><code>//kali</code><code>:8834/ to configure your scanner</code>
<code>正在處理用于 systemd (215-17+deb8u1) 的觸發器 ...</code>
<code>3、啟動服務</code>
<code>root@kali:~/桌面</code><code># /etc/init.d/nessusd start</code>
<code>Starting Nessus : .</code>
<code>4、擷取挑戰碼</code>
<code>root@kali:~/桌面</code><code># /opt/nessus/sbin/nessuscli fetch --challenge</code>
<code>Challenge code: *****************************************</code>
<code>You can copy the challenge code above and </code><code>paste</code> <code>it alongside your</code>
<code>Activation Code at:</code>
<code>https:</code><code>//plugins</code><code>.nessus.org</code><code>/v2/offline</code><code>.php</code>
<a href="https://s5.51cto.com/wyfs02/M02/8E/2B/wKiom1i3vAKAxv5sAAEq9xLjRqU733.png-wh_500x0-wm_3-wmp_4-s_228841643.png" target="_blank"></a>
<a href="https://s2.51cto.com/wyfs02/M02/8E/29/wKioL1i3vAPTz0ORAAFvtn40JaE554.png-wh_500x0-wm_3-wmp_4-s_599734774.png" target="_blank"></a>
7、注冊
<code>root@kali:~/桌面</code><code># cp all-2.0.tar.gz nessus-fetch.rc /opt/nessus/etc/nessus/</code>
<code>root@kali:~/桌面</code><code># /opt/nessus/sbin/nessuscli fetch --register-offline /opt/nessus/etc/nessus/nessus-fetch.rc</code>
8、更新最新插件
<code>root@kali:~/桌面</code><code># /opt/nessus/sbin/nessuscli update all-2.0.tar.gz </code>
<code> </code><code>* Update successful. The changes will be automatically processed by Nessus.</code>
本文轉自 元嬰期 51CTO部落格,原文連結:http://blog.51cto.com/jiayimeng/1902614