转载于:小王子的私生活 公众号:安全圈小王子 链接:https://www.little2pig.work/archives/nessusproplugins202207130548
插件未完美破解,虽不会清空,但重启服务插件会重载重启服务插件会重载,虚拟机或服务器安装可能友好一点
plugin_feed_info.inc
内容
PLUGIN_SET = "202207130548";
PLUGIN_FEED = "ProfessionalFeed (Direct)";
PLUGIN_FEED_TRANSPORT = "Tenable Network Security Lightning";
Linux更新
-
停止Nessus服务
systemctl stop nessusd #停止Nessus服务
注意:如果您之前按照《关于Nessus_Pro插件202205112225食用方法》升级,切记执行以下命令取消
plugins
目录下所有文件只读权限
find /opt/nessus/lib/nessus/plugins/ -name "*.*" | xargs -i chattr -i {}
##执行时间稍微有点长,因为插件数达14W+
否则会提示文件没权限操作,如下图所示
-
接下来就跟上次步骤一样,不啰嗦了
/opt/nessus/sbin/nessuscli update all-2.0_202207130548.tar.gz #升级
chattr -i /opt/nessus/var/nessus/plugin_feed_info.inc #取消之前设置的只读
cp plugin_feed_info.inc /opt/nessus/var/nessus #替换新的inc
chattr +i /opt/nessus/var/nessus/plugin_feed_info.inc #设置只读
find /opt/nessus/lib/nessus/plugins/ -name "*.*" | xargs -i chattr +i {} #设置plugins全文件只读
chattr -i /opt/nessus/lib/nessus/plugins/plugin_feed_info.inc #取消该文件的只读
systemctl start nesssusd
Windows更新
Window类似,就是换了个命令
net stop "Tenable Nessus"
attrib -s -r -h "C:ProgramDataTenableNessusnessusplugin_feed_info.inc" #取消之前设置的只读
attrib -s -r -h "C:ProgramDataTenableNessusnessusplugins*.*" #取消之前设置的只读
"C:Program FilesTenableNessusnessuscli.exe" update "{your_path}all-2.0_202207130548.tar.gz" #升级
copy "{your_path}plugin_feed_info.inc" "C:ProgramDataTenableNessusnessusplugins" "C:ProgramDataTenableNessusnessus" #替换新的inc
attrib +s +r +h "C:ProgramDataTenableNessusnessusplugin_feed_info.inc" #设置只读
attrib +s +r +h "C:ProgramDataTenableNessusnessusplugins*.*" #设置plugins全文件只读
attrib -s -r -h "C:ProgramDataTenableNessusnessuspluginsplugin_feed_info.inc" #取消该文件的只读
net start "Tenable Nessus"
插件包下载
百度pan:https://pan.baidu.com/s/1ih1Y1wmDwq6kIm13dmy9Og
提取码:0101
123pan:https://www.123pan.com/s/vPtA-D8NCA
提取码:0101
效果预览
扫描测试均正常,重启插件不会掉但是会重载。
原文始发于微信公众号(释然IT杂谈):Nessus插件更新
- 左青龙
- 微信扫一扫
-
- 右白虎
- 微信扫一扫
-
评论