以下的更新过程是针对于以上的安装过程来进行的,如果你的安装过程不是按照上面教程来的,那么以下的更新插件过程对你并不适用
1.获取Challenge code
# /opt/nessus/sbin/nessuscli fetch --challenge
2.获取激活码
https://www.tenable.com/products/nessus/nessus-essentials
Plugin Registration | Tenable®
# /opt/nessus/sbin/nessuscli fetch --register-offline /opt/nessus/nessus.license
Your Activation Code has been registered properly - thank you.
# find /opt/nessus/lib/nessus/plugins/ -name "*.*" | xargs -i chattr -i {} #设置plugins取消全文件只读
# /opt/nessus/sbin/nessuscli update /opt/nessus/all-2.0.tar.gz
# find /opt/nessus/lib/nessus/plugins/ -name "*.*" | xargs -i chattr +i {} #设置plugins全文件只读
# chattr -i /opt/nessus/lib/nessus/plugins/plugin_feed_info.inc #取消inc文件的只读
# chattr -i /opt/nessus/var/nessus/plugin_feed_info.inc #取消设置只读
# cat /opt/nessus/lib/nessus/plugins/plugin_feed_info.inc
PLUGIN_FEED = "HomeFeed (Non-commercial use only)";
# vim /opt/nessus/lib/nessus/plugins/plugin_feed_info.inc
PLUGIN_FEED = "ProfessionalFeed (Direct)";
PLUGIN_FEED_TRANSPORT = "Tenable Network Security Lightning";
10. /opt/nessus/var/nessus/plugin_feed_info.inc
# vim /opt/nessus/var/nessus/plugin_feed_info.inc
PLUGIN_FEED = "ProfessionalFeed (Direct)";
PLUGIN_FEED_TRANSPORT = "Tenable Network Security Lightning";
# chattr +i /opt/nessus/var/nessus/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
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
原文链接:https://blog.csdn.net/weixin_49098230/article/details/138186389