Nmap uptime-agent-info NSE Script
This page contains detailed information about how to use the uptime-agent-info NSE script. For list of all NSE scripts, visit the Nmap NSE Library.
Select: |
---|
Script Overview
Script source code: https://github.com/nmap/nmap/tree/master/scripts/uptime-agent-info.nse
Script categories: safe, default
Target service / protocol: uptime-agent, tcp
Target network port(s): 9998
List of CVEs: -
Script Description
The uptime-agent-info.nse script gets system information from an Idera Uptime Infrastructure Monitor agent.
Uptime-agent-info NSE Script Arguments
The uptime-agent-info.nse script does not have any arguments.
Uptime-agent-info NSE Script Example Usage
Here's an example of how to use the uptime-agent-info.nse script:
nmap --script uptime-agent-info -p 9998 <target>
Uptime-agent-info NSE Script Example Output
Here's a sample output from the uptime-agent-info.nse script:
9998/tcp open uptime-agent syn-ack
| uptime-agent-info: SYSNAME=system123
| DOMAIN=(none)
| ARCH="Linux system123 3.12.51-60.20-default #1 SMP Fri Dec 11 12:01:38 UTC 2015 (1ca22d2) x86_64 x86_64 x86_64 GNU/Linux"
| OSVER="SUSE Linux Enterprise Server 12 (x86_64) 1 # This file is deprecated and will be removed in a future service pack or release. # Please check /etc/os-release for details about this release. ( 3.12.51-60.20-default x86_64)"
| NUMCPUS=2
| MEMSIZE=8082576
| PAGESIZE=3072
| SWAPSIZE=1532924
| GPGSLO=0
| VXVM=""
| SDS=""
| LVM="NO"
| HOSTID=15ad9120
| CPU0=" 0 0 0 2299.998 5 Intel(R)Xeon(R) 0 "
| CPU1=" 1 0 0 2299.998 5 Intel(R)Xeon(R) 0 "
| NET0=eth0=172.20.16.146
| VMWARE=1
|_VMUUID=721cce31748ff113b33959b8d14380b9
Service Info: Host: system123
Uptime-agent-info NSE Script Example XML Output
There is no sample XML output for this module. However, by providing the -oX <file>
option, Nmap will produce a XML output and save it in the file.xml
file.
Author
- Daniel Miller
References
- https://nmap.org/nsedoc/scripts/uptime-agent-info.html
- https://github.com/nmap/nmap/tree/master/scripts/uptime-agent-info.nse
- https://github.com/uptimesoftware/uptime-openvms-agent/blob/master/uptime-agent.c
See Also
Visit Nmap NSE Library for more scripts.
The uptime-agent-info.nse script may fail with the following error messages. Check for the possible causes by using the code snippets highlighted below found in the script source code. This can often times help in identifying the root cause of the problem.
Error getting system info
Here is a relevant code snippet related to the "Error getting system info" error message:
57:
58: local set_port_version = false
59: -- Expect about 18 lines, but multiple CPUs can lead to more. Data is sent
60: -- line-buffered, so if we guess low, we only get that many lines. Better to
61: -- guess high and suffer the timeout.
62: local status, info = oops.raise("Error getting system info",
63: comm.exchange(host, port, "sysinfo\n", {lines=30}))
64: if not status then
65: return info
66: end
67:
Version
This page has been created based on Nmap version 7.92.
Go back to menu.