当前位置:网站首页>[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)
等待更新完成
边栏推荐
- XSS测试
- 编译器工程师眼中的好代码(1):Loop Interchange
- ES6--residual parameters
- 在树莓派上搭建属于自己的网页(3)
- Engineering Effectiveness Governance for Agile Delivery
- 火了十几年的零信任,为啥还不能落地
- tidyverse based on data.table?
- 小朋友学C语言(1):Hello World
- idea2021配置svn报错Cannot run program “svn“ (in directory “xxx“):CreateProcess error=2,系统找不到指定的文件
- leetcode 461. Hamming Distance
猜你喜欢
随机推荐
MMA安装及使用优化
LeetCode_Digit Statistics_Medium_400. Nth Digit
leetcode 326. Powers of 3
C. Fishingprince Plays With Array--Codeforces Global Round 21
svg胶囊药样式切换按钮
Transformer怎么入门?如何学习Transformer?
nvm的使用 nodejs版本管理,解决用户名是汉字的问题
Markdown语法
简单又有效的基本折线图制作方法
Leetcode 16. Numerical integral power (power + fast recursive/iteration)
这几个常用 alias,带你高效做事(下)
leetcode 268. Missing Numbers (XOR!!)
解决This application failed to start because no Qt platform plugin could be initialized的办法
Zero trust, which has been popular for more than ten years, why can't it be implemented?
Likou 707 - Design Linked List - Linked List
C. awoo‘s Favorite Problem--Educational Codeforces Round 130 (Rated for Div. 2)
字节跳动软件测试岗,前两面过了,第三面HR天坑,结局透心凉...
leetcode 136. Numbers that appear only once (XOR!!)
直播平台怎么搭建,针对输入框的各种组件
小朋友学C语言(3):整数、浮点数、字符













