⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 open_nntp_server.nasl

📁 漏洞扫描源码,可以扫描linux,windows,交换机路由器
💻 NASL
字号:
## This script was written by Michel Arboi <mikhail@nessus.org>## GPL...desc = "The remote server seems open to outsiders.Some people love open public NNTP servers tobe able to read or post articles anonymously.Keep in mind that robots are harvesting such open servers on Internet, so you cannot hope thatyou will stay hidden for long.Unwanted connections could waste your bandwithor put you into legal trouble if outsiders use your serverto read or post 'politically incorrects' articles.** As it is very common to have IP based authentication,** this might be a false positive if the OpenVAS scanner is** among the allowed source addresses.Solution: Enforce authentication or filter connections from outsideRisk factor : Medium";if(description){ script_id(17204); script_version ("$Revision: 116 $"); name["english"] = "Open News server"; script_name(english:name["english"]);  script_description(english:desc);  summary["english"] = "Public NNTP server is open to outside"; script_summary(english:summary["english"]);  script_category(ACT_GATHER_INFO);  script_copyright(english:"This script is Copyright (C) 2005 Michel Arboi"); family["english"] = "General"; script_family(english:family["english"]); script_dependencie("nntp_info.nasl"); script_require_ports("Services/nntp", 119); exit(0);}#include('global_settings.inc');include('network_func.inc');# Unusable serverif (! get_kb_item('nntp/'+port+'/ready') ||    ! get_kb_item('nntp/'+port+'/noauth') ) exit(0);# Only warn on private addresses. The server might be accessible# through NAT, so we warn if we prefere FPif (report_paranoia < 2 && is_private_addr()) exit(0);post = get_kb_item('nntp/'+port+'/posting');# If we want to avoid FP, check that the message was postedif (post && report_paranoia < 1 && get_kb_item('nntp/'+port+'/posted') <= 0)  post = 0;if (! post)   desc = str_replace(string: desc, find: 'read and post', replace: 'read');security_warning(port: port, data: desc);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -