当前位置:网站首页>[kali-vulnerability scanning] (2.1) Nessus lifts IP restrictions, scans quickly without results, and plugins are deleted (middle)
[kali-vulnerability scanning] (2.1) Nessus lifts IP restrictions, scans quickly without results, and plugins are deleted (middle)
2022-08-03 21:13:00 【The Black Zone (Rise)】
目录
三、Scanning is fast with no results
一、解除IP限制
1.1、识别版本号
在浏览器中输入
https://plugins.nessus.org/v2/plugins.php
1.2、修改配置文件
修改 plugin_feed_info.inc 文件
sudo find /opt -name plugin_feed_info.inc
看不见,就用root打开
If it doesn't exist, create a new oneplugin_feed_info.inc
并将内容改为
(Replace the original file if any/opt/nessus/lib/nessus/plugin_feed_info.inc)
PLUGIN_SET = "202208020542"; PLUGIN_FEED = "ProfessionalFeed (Direct)"; PLUGIN_FEED_TRANSPORT = "Tenable Network Security Lightning";将 /opt/nessus/lib/nessus/plugins/plugin_feed_info.inc 文件删除
(Or replace this one too)
rm -rf /opt/nessus/lib/nessus/plugins/plugin_feed_info.inc
1.3、重启服务
重启nessus服务
sudo service nessusd restart
1.4、访问
浏览器访问nessus(https://localhost:8843)
等待nessus初始化插件
设置页面显示 unlimited,则解除IP限制
二、Resolve plugin was removed
2.1、分析
Nessus服务每次重启后,都会重置plugin_feed_info.inc,会使nessus/plugins目录下所有的插件都被删除,无法扫描
2.2、方法一:
Manually update the plugin package every time
pluginsThe content of the file can be obtained by updating the plugin again(Take advantage of that plugin package we got)
2.3、方法二:
先停止nessus服务,将nessus服务设置为手动
sudo systemctl disable nessusd sudo service nessusd stopIt's the same operation after every reset,重新配置
Can be written as batch processing
sudo vim crack_nessus.shservice nessusd stop; cp /root/plugin_feed_info.inc /opt/nessus/var/nessus/; rm -rf /opt/nessus/lib/nessus/plugins/plugin_feed_info.inc; service nessusd start;将crack_nessus.shWritten in the system startup script
每次重启,Release will be performed automaticallyIP限制
sudo chmod +x /etc/rc.d/rc.local sudo vim /etc/rc.d/rc.local添加如下内容到rc.local
/bin/bash /root/crack_nessus.shnessus解除IP限制
三、Scanning is fast with no results
3.1、分析
When creating a new scan item,很快就结束,无扫描结果
查看plugins目录内容是否被删除
sudo du -h /opt/nessus/lib/nessus/plugins
Generally check the file size
3.2、恢复
使用备份(The premise is that it is backed upplugins目录)
service nessusd stop; rm -rf /opt/nessus/lib/nessus/plugins cp -r ./plugins /opt/nessus/lib/nessus/ cp /root/plugin_feed_info.inc /opt/nessus/var/nessus/; rm -rf /opt/nessus/lib/nessus/plugins/plugin_feed_info.inc; service nessusd start;然后打开浏览器,访问nessus(https://localhost:8843)
等待更新完成
边栏推荐
猜你喜欢
随机推荐
Likou 59 - Spiral Matrix II - Boundary Judgment
通关剑指 Offer——剑指 Offer II 009. 乘积小于 K 的子数组
svg胶囊药样式切换按钮
云图说丨初识华为云微服务引擎CSE
Leetcode 16. Numerical integral power (power + fast recursive/iteration)
PyCharm函数自动添加注释无参数问题
C. Divan and bitwise operations
D - Project Planning--二分
Lecture topics and guest blockbuster, TDengine developers conference to promote data technology "broken"
详解虚拟机!京东大佬出品 HotSpot VM 源码剖析笔记(附完整源码)
函数,递归以及dom简单操作
聚焦开源与联合共创|麒麟软件出席开源峰会欧拉分论坛
Power button - 203 - remove the list elements linked list
Likou 707 - Design Linked List - Linked List
leetcode 2119. Numbers reversed twice
svg+js订单确认按钮动画js特效
ES6 introduction and let, var, const
StoneDB 助力 2022 开放原子全球开源峰会
伪标签汇总
tkwebview2创作心得












