Detection of installed version
of PQI Air Pen Express.
This script sends an HTTP GET request and tries to get the version from the
response.
# SPDX-FileCopyrightText: 2016 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.807535");
script_version("2024-06-13T05:05:46+0000");
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:"last_modification", value:"2024-06-13 05:05:46 +0000 (Thu, 13 Jun 2024)");
script_tag(name:"creation_date", value:"2016-02-18 10:58:19 +0530 (Thu, 18 Feb 2016)");
script_name("PQI Air Pen Express Remote Detection");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2016 Greenbone AG");
script_family("Product detection");
script_dependencies("find_service.nasl", "httpver.nasl", "webmirror.nasl",
"DDI_Directory_Scanner.nasl", "global_settings.nasl",
"gb_microsoft_iis_http_detect.nasl");
script_require_ports("Services/www", 80);
script_exclude_keys("Settings/disable_cgi_scanning");
script_tag(name:"summary", value:"Detection of installed version
of PQI Air Pen Express.
This script sends an HTTP GET request and tries to get the version from the
response.");
script_tag(name:"qod_type", value:"remote_banner");
exit(0);
}
include("http_func.inc");
include("http_keepalive.inc");
include("port_service_func.inc");
include("host_details.inc");
port = http_get_port(default:80);
if(!http_can_host_asp(port:port))
exit(0);
res = http_get_cache(item:"/home.asp", port:port);
if(res && '<TITLE>Air Pen express' >< res) {
install = "/";
version = "unknown";
set_kb_item(name:"pqi/air_pen_express/detected", value:TRUE);
cpe = "cpe:/a:pqi:air_pen_express";
register_product(cpe:cpe, location:install, port:port, service:"www");
log_message(data:build_detection_report(app:"PQI Air Pen Express",
version:version,
install:install,
cpe:cpe),
port:port);
}
exit(0);