一、准备工作
1
|
root@kali:~
# apt-get update; apt-get upgrade; apt-get dist-upgrade
|
二、获取安装
1、从http://www.nessus.org/products/nessus/nessus-plugins/obtain-an-activation-code 获取激活码
如下图
2、获取免费版本的激活码(Nessus Home),注册帐号
3、在注册邮箱中获得激活码
4、注册成功到达下载页面,下载相应系统版本
5、安装
1
|
1、这里选择Ubuntu的包,下载后的包一定要MD5校验下
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
2、安装
root@kali:~/桌面
# dpkg -i Nessus-6.10.2-debian6_amd64.deb
(正在读取数据库 ... 系统当前共安装有 458910 个文件和目录。)
正准备解包 Nessus-6.10.2-debian6_amd64.deb ...
正在解包 nessus (6.10.2) ...
正在设置 nessus (6.10.2) ...
Unpacking Nessus Core Components...
nessusd (Nessus) 6.10.2 [build M20085]
for
Linux
Copyright (C) 1998 - 2016 Tenable Network Security, Inc
Processing the Nessus plugins...
[
##################################################]
All plugins loaded (1sec)
- You can start Nessus by typing
/etc/init
.d
/nessusd
start
- Then go to https:
//kali
:8834/ to configure your scanner
正在处理用于 systemd (215-17+deb8u1) 的触发器 ...
|
1
2
3
4
5
6
7
8
9
10
11
12
|
3、启动服务
root@kali:~/桌面
# /etc/init.d/nessusd start
Starting Nessus : .
4、获取挑战码
root@kali:~/桌面
# /opt/nessus/sbin/nessuscli fetch --challenge
Challenge code: *****************************************
You can copy the challenge code above and
paste
it alongside your
Activation Code at:
https:
//plugins
.nessus.org
/v2/offline
.php
|
6、提交注册码和挑战码(注册码在邮箱),在此处提交 https://plugins.nessus.org/offline.php
7、注册
1
2
|
root@kali:~/桌面
# cp all-2.0.tar.gz nessus-fetch.rc /opt/nessus/etc/nessus/
root@kali:~/桌面
# /opt/nessus/sbin/nessuscli fetch --register-offline /opt/nessus/etc/nessus/nessus-fetch.rc
|
8、升级最新插件
1
2
3
|
root@kali:~/桌面
# /opt/nessus/sbin/nessuscli update all-2.0.tar.gz
* Update successful. The changes will be automatically processed by Nessus.
|
本文转自 元婴期 51CTO博客,原文链接:http://blog.51cto.com/jiayimeng/1902614