Autonomic Controls Detection (Consolidation)

2018-08-07T00:00:00
ID OPENVAS:1361412562310113244
Type openvas
Reporter Copyright (C) 2018 Greenbone Networks GmbH
Modified 2018-11-19T00:00:00

Description

Reports on the detections for Autonomic Controls devices.

                                        
                                            ###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_autonomic_controls_consolidation.nasl 12413 2018-11-19 11:11:31Z cfischer $
#
# Autonomic Controls Detection (Consolidation)
#
# Authors:
# Jan Philipp Schulte <jan.schulte@greenbone.net>
#
# Copyright:
# Copyright (C) 2018 Greenbone Networks GmbH, https://www.greenbone.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################

if( description )
{
  script_oid("1.3.6.1.4.1.25623.1.0.113244");
  script_version("$Revision: 12413 $");
  script_tag(name:"last_modification", value:"$Date: 2018-11-19 12:11:31 +0100 (Mon, 19 Nov 2018) $");
  script_tag(name:"creation_date", value:"2018-08-07 10:33:33 +0200 (Tue, 07 Aug 2018)");
  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_tag(name:"qod_type", value:"remote_banner");

  script_name("Autonomic Controls Detection (Consolidation)");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2018 Greenbone Networks GmbH");
  script_family("Product detection");
  script_dependencies("gb_autonomic_controls_http_detect.nasl", "gb_autonomic_controls_telnet_detect.nasl");
  script_mandatory_keys("autonomic_controls/detected");

  script_tag(name:"summary", value:"Reports on the detections for Autonomic Controls devices.");

  script_xref(name:"URL", value:"http://www.autonomic-controls.com/products/");

  exit(0);
}

CPE = "cpe:/h:autonomic_controls:remote:";

include( "host_details.inc" );
include( "cpe.inc" );

concluded = ""; # nb: To make openvas-nasl-lint happy...
extra = 'Concluded from: \r\n';

if( ver = get_kb_item( "autonomic_controls/http/version" ) ) {
  version = ver;
  concluded = "HTTP";
  port = get_kb_item( "autonomic_controls/http/port" );
  concl = get_kb_item( "autonomic_controls/http/concluded" );
  extra += '\r\n  - HTTP( Port ' + port + ' ): ' + concl;
}

if( ver = get_kb_item( "autonomic_controls/telnet/version" ) ) {
  if( ! version ) version = ver;
  if( concluded == "" )
    concluded = "Telnet";
  else
    concluded += " + Telnet";
  port = get_kb_item( "autonomic_controls/telnet/port" );
  concl = get_kb_item( "autonomic_controls/telnet/concluded" );
  extra += '\r\n  - Telnet( Port ' + port + ' ): ' + concl;
}

register_and_report_cpe( app: "Autonomic Controls",
                         ver: version,
                         concluded: concluded,
                         base: CPE,
                         expr: '([0-9.]+)',
                         regPort: 0,
                         extra: extra );

exit( 0 );