Lucene search

K

citrix-enum-servers-xml NSE Script

🗓️ 14 Dec 2009 07:38:30Reported by Patrik KarlssonType 
nmap
 nmap
🔗 nmap.org👁 75 Views

Extracts server farm and member servers from Citrix XML servic

Show more
Related
Code
ReporterTitlePublishedViews
Family
Nmap
smb-flood NSE Script
3 Oct 201023:02
nmap
Nmap
http-gitweb-projects-enum NSE Script
20 Apr 201212:46
nmap
Nmap
informix-brute NSE Script
19 Aug 201022:47
nmap
Nmap
http-dlink-backdoor NSE Script
17 Oct 201323:41
nmap
Nmap
http-wordpress-brute NSE Script
23 Aug 201106:29
nmap
Nmap
maxdb-info NSE Script
17 Nov 201122:12
nmap
Nmap
domcon-brute NSE Script
19 Aug 201023:02
nmap
Nmap
imap-ntlm-info NSE Script
8 Jan 201603:08
nmap
Nmap
stuxnet-detect NSE Script
12 Dec 201022:40
nmap
Nmap
dns-srv-enum NSE Script
19 Jan 201200:49
nmap
Rows per page
local citrixxml = require "citrixxml"
local shortport = require "shortport"
local stdnse = require "stdnse"
local table = require "table"

description = [[
Extracts the name of the server farm and member servers from Citrix XML
service.
]]

---
-- @usage
-- nmap --script=citrix-enum-servers-xml -p 80,443,8080 <host>
--
-- @output
-- PORT     STATE SERVICE    REASON
-- 8080/tcp open  http-proxy syn-ack
-- | citrix-enum-servers-xml:
-- |   CITRIX-SRV01
-- |_  CITRIX-SRV01

-- Version 0.2

-- Created 11/26/2009 - v0.1 - created by Patrik Karlsson <[email protected]>
-- Revised 12/02/2009 - v0.2 - Use stdnse.format_ouput for output

author = "Patrik Karlsson"
license = "Same as Nmap--See https://nmap.org/book/man-legal.html"
categories = {"discovery", "safe"}


portrule = shortport.portnumber({8080,80,443}, "tcp")


action = function(host, port)

  local xmldata = citrixxml.request_server_data(host, port)
  local servers = citrixxml.parse_server_data_response(xmldata)
  local response = {}

  for _, srv in ipairs(servers) do
    table.insert(response, srv)
  end

  return stdnse.format_output(true, response)

end

Transform Your Security Services

Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.

Book a live demo
14 Dec 2009 07:30Current
0.1Low risk
Vulners AI Score0.1
EPSS0.972
75
.json
Report