Lucene search
K

Port scanners settings

🗓️ 25 Sep 2008 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 97 Views

Plugin configures global variables for Nessus port scanners and does not perform security check

Code
#
# (C) Tenable Network Security, Inc.
#

# @PREFERENCES@

include("compat.inc");

if(description)
{
 script_id(33812);
 script_version ("$Revision: 1.7 $");
 script_cvs_date("$Date: 2011/03/21 18:19:28 $");

 script_name(english: "Port scanners settings");
 
 script_set_attribute(attribute:"synopsis", value:
"Portscanners options." );
 script_set_attribute(attribute:"description", value:
"This plugin configures miscellaneous global variables for Nessus port
scanners. It does not perform any security check." );
 script_set_attribute(attribute:"solution", value:
"N/A" );
 script_set_attribute(attribute:"risk_factor", value:"None" );


 script_set_attribute(attribute:"plugin_publication_date", value: "2008/09/25");
script_set_attribute(attribute:"plugin_type", value:"settings");
script_end_attributes();

 
 script_summary(english: "Sets KB entries for port scanners");
 script_category(ACT_INIT);	
 
 script_copyright(english:"This script is Copyright (C) 2008-2011 Tenable Network Security, Inc.");
 script_family(english: "Settings");
 script_add_preference(name: "Check open TCP ports found by local port enumerators", type:"checkbox", value:"no");
 if ( NASL_LEVEL >= 3210 )
  script_add_preference(name: "Only run network port scanners if local port enumeration failed", type:"checkbox", value:"yes");
 exit(0);
}

opt = script_get_preference("Check open TCP ports found by local port enumerators");
if (opt && opt == "yes")
 set_kb_item(name: "PortscannersSettings/probe_TCP_ports", value:TRUE);

if ( NASL_LEVEL >= 3210 ) 
{
opt = script_get_preference("Only run network port scanners if local port enumeration failed");
if (! opt || "yes" >< opt)
  set_kb_item(name: "PortscannersSettings/run_only_if_needed", value:TRUE);
}

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

21 Mar 2011 18:19Current
5.4Medium risk
Vulners AI Score5.4
97