# SPDX-FileCopyrightText: 2014 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.105058");
script_version("2023-06-29T05:05:23+0000");
script_tag(name:"last_modification", value:"2023-06-29 05:05:23 +0000 (Thu, 29 Jun 2023)");
script_tag(name:"creation_date", value:"2014-07-07 10:42:27 +0200 (Mon, 07 Jul 2014)");
script_tag(name:"cvss_base", value:"0.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:N");
script_name("ESXi Authorization"); # nb: Don't change the script name, this name is hardcoded within some manager functions...
script_category(ACT_SETTINGS);
script_copyright("Copyright (C) 2014 Greenbone AG");
script_family("Credentials");
script_add_preference(name:"ESXi login name:", type:"entry", value:"", id:1); # nb: Don't change this name and id, these are hardcoded / used in GVMd
script_add_preference(name:"ESXi login password:", type:"password", value:"", id:2); # nb: Don't change this name and id, these are hardcoded / used in GVMd
script_tag(name:"summary", value:"This VT allows users to enter the information required to
authorize and login into the ESXi SOAP API via HTTP.
This information is used by tests that require authentication.");
script_tag(name:"qod_type", value:"remote_banner");
exit(0);
}
esxi_login = script_get_preference( "ESXi login name:", id:1 );
esxi_password = script_get_preference( "ESXi login password:", id:2 );
if( esxi_login ) set_kb_item( name:"esxi/login_filled/0", value:esxi_login );
if( esxi_password ) set_kb_item( name:"esxi/password_filled/0", value:esxi_password );
exit( 0 );
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