首页 > 系统相关 >ubuntu20.04部署Nessus pro 10.5.0

ubuntu20.04部署Nessus pro 10.5.0

时间:2023-03-05 13:24:32浏览次数:50  
标签:ubuntu20.04 opt 10.5 plugin pro info plugins inc nessus

下载nessus

# curl --request GET --url 'https://www.tenable.com/downloads/api/v2/pages/nessus/files/Nessus-10.5.0-ubuntu1404_amd64.deb' --output 'Nessus-10.5.0-ubuntu1404_amd64.deb'

安装nessus

# dpkg -i Nessus-10.5.0-ubuntu1404_amd64.deb

运行nessus

# systemctl start nessusd

设置nessus

https://<remote IP address>:8834 

获取离线包

获取Challenge code

# /opt/nessus/sbin/nessuscli fetch --challenge

Challenge code: f93186bbe12578485c091a5f364645e4b7c95bdb

You can copy the challenge code above and paste it alongside your
Activation Code at:
https://plugins.nessus.org/v2/offline.php

获取临时邮箱

https://10minutemail.info/

获取激活码

https://www.tenable.com/products/nessus/nessus-essentials

 

查看激活码

获取插件包

https://plugins.nessus.org/v2/offline.php

离线注册

停止nessus

# systemctl stop nessusd

离线注册

# /opt/nessus/sbin/nessuscli fetch --register-offline /opt/nessus/nessus.license
Your Activation Code has been registered properly - thank you.

离线更新插件

# /opt/nessus/sbin/nessuscli update /opt/nessus/all-2.0.tar.gz

[info] Copying templates version 202302271406 to /opt/nessus/var/nessus/templates/tmp
[info] Finished copying templates.
[info] Moved new templates with version 202302271406 from plugins dir.
[info] Moved new pendo client with version 21691 from plugins dir.
 * Update successful.  The changes will be automatically processed by Nessus.

设置目录权限

plugins

# find /opt/nessus/lib/nessus/plugins/ -name "*.*" | xargs -i chattr +i {}    #设置plugins全文件只读

plugin_feed_info.inc

# chattr -i /opt/nessus/lib/nessus/plugins/plugin_feed_info.inc #取消inc文件的只读

plugin_feed_info.inc

/opt/nessus/lib/nessus/plugins/plugin_feed_info.inc

查看插件信息

# cat /opt/nessus/lib/nessus/plugins/plugin_feed_info.inc
PLUGIN_SET = "202303040556";
PLUGIN_FEED = "HomeFeed (Non-commercial use only)";

修改插件信息

# vim /opt/nessus/lib/nessus/plugins/plugin_feed_info.inc
PLUGIN_SET = "202303040556";
PLUGIN_FEED = "ProfessionalFeed (Direct)";
PLUGIN_FEED_TRANSPORT = "Tenable Network Security Lightning";

 /opt/nessus/var/nessus/plugin_feed_info.inc

修改插件信息

# vim /opt/nessus/var/nessus/plugin_feed_info.inc
PLUGIN_SET = "202303040556";
PLUGIN_FEED = "ProfessionalFeed (Direct)";
PLUGIN_FEED_TRANSPORT = "Tenable Network Security Lightning";

设置plugin_feed_info.inc文件权限

# chattr +i /opt/nessus/var/nessus/plugin_feed_info.inc #设置只读

复制文件plugin_feed_info.inc

# mkdir /opt/nessus/var/nessus/plugins
# cp /opt/nessus/var/nessus/plugin_feed_info.inc /opt/nessus/var/nessus/plugins

开启服务

# systemctl start nessusd.service

访问nessus dashboard

此过程需要等待一段时间

参考文档

https://www.freebuf.com/sectool/348481.html

标签:ubuntu20.04,opt,10.5,plugin,pro,info,plugins,inc,nessus
From: https://www.cnblogs.com/wangguishe/p/17179297.html

相关文章

  • 面向对象中@perproty的作用
    @property是Python中的一个装饰器(decorator),用于创建getter和setter方法。其作用是将类的方法转换为相应的属性,从而使得代码更加简洁明了。在Python中,我们可以通......
  • 12——Promise
    第十二周Promise初识PromisePromise异步操作的一种解决方案回调函数,异步操作的一种解决方案什么时候使用一般用来解决层层嵌套的回调函数,(回调地狱callbac......
  • Effective Project Management 01
    whatisaprojectdefinition:DefiningaProjectAprojectisasequenceofunique,complex,and connectedactivitieshavingonegoalorpurposeand thatmus......
  • Django源码-startproject
    Django源码-startprojectDjango的所有命令都位于django/django/core/management/commands/目录下一命令目录django-adminstartprojectproject_name这个命令在源码里......
  • 5.使用Promise实现串行
    实现promise的核心思想是借助reduce 第一步constres=[]//定义一个接受不同promise执行结果的数组第二步返回一个promise对象returnnewPromise((resolve,rej......
  • 4.Promise
    1.什么是promisePromise是异步编程的一种解决方案:从语法上来讲,promise是一个对象,从他可以获取异步操作的消息;从本意上来讲。他是一个承诺,承诺他过一段时间会给你一个结果......
  • ubuntu20.04部署Nessus Essentials 10.5
    下载nessus#curl--requestGET--url'https://www.tenable.com/downloads/api/v2/pages/nessus/files/Nessus-10.5.0-ubuntu1404_amd64.deb'--output'Nessus-10.5.0-......
  • nginx的location和proxy_pass末尾加不加斜杠"/"?
    以下是请求http://xxx/say/hello时的所有可能情况locationproxy_pass请求地址/sayhttp://host/http://host//hello/say/http://host/http://host/hello......
  • 详解Prometheus四种指标类型
    指标是用来衡量性能、消耗、效率和许多其他软件属性随时间的变化趋势。它们允许工程师通过警报和仪表盘来监控一系列测量值的演变(如CPU或内存使用量、请求持续时间、延迟......
  • 浅谈下javascript的proxy和reflect
    近日喜欢上了uniapp和vue,但看到相关程序代码中频繁出现了proxy和reflect的使用,于是进行了一番学习,现总结如下。Proxy和Reflect是ES6(ECMAScript2015)引入的两个新的特性,它......