Nmap acarsd-info NSE Script
This page contains detailed information about how to use the acarsd-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/acarsd-info.nse
Script categories: safe, discovery
Target service / protocol: acarsd, tcp
Target network port(s): 2202
List of CVEs: -
Script Description
The acarsd-info.nse script retrieves information from a listening acarsd daemon. Acarsd decodes ACARS (Aircraft Communication Addressing and Reporting System) data in real time. The information retrieved by this script includes the daemon version, API version, administrator e-mail address and listening frequency.
For more information about acarsd, see:
Acarsd-info NSE Script Arguments
This is a full list of arguments supported by the acarsd-info.nse script:
acarsd-info.bytesSet the number of bytes to retrieve. The default value is 512.
acarsd-info.timeoutSet the timeout in seconds. The default value is 10.
- - -
To use these script arguments, add them to the Nmap command line using the --script-args arg1=value,[arg2=value,..]
syntax. For example:
nmap --script=acarsd-info --script-args acarsd-info.bytes=value,acarsd-info.timeout=value <target>
Acarsd-info NSE Script Example Usage
Here's an example of how to use the acarsd-info.nse script:
nmap --script acarsd-info --script-args "acarsd-info.timeout=10,acarsd-info.bytes=512" -p <port> <host>
Acarsd-info NSE Script Example Output
Here's a sample output from the acarsd-info.nse script:
PORT STATE SERVICE
2202/tcp open unknown
| acarsd-info:
| Version: 1.65
| API Version: API-2005-Oct-18
| Authorization Required: 0
| Admin E-mail: admin@acarsd
| Clients Connected: 1
|_ Frequency: 131.7250 & 131.45
Acarsd-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
- Brendan Coles
References
- https://nmap.org/nsedoc/scripts/acarsd-info.html
- https://github.com/nmap/nmap/tree/master/scripts/acarsd-info.nse
- http://www.acarsd.org/
See Also
Visit Nmap NSE Library for more scripts.
The acarsd-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.
Retrieving data from %s:%s failed [Timeout expired]
Here is a relevant code snippet related to the "Retrieving data from %s:%s failed [Timeout expired]" error message:
60:
61: -- Connect and retrieve acarsd info in XML format over TCP
62: stdnse.debug1("Connecting to %s:%s [Timeout: %ss]", host.targetname or host.ip, port.number, timeout)
63: local status, data = comm.get_banner(host, port, {timeout=timeout*1000,bytes=bytes})
64: if not status or not data then
65: stdnse.debug1("Retrieving data from %s:%s failed [Timeout expired]", host.targetname or host.ip, port.number)
66: return
67: end
68:
69: -- Check if retrieved data is valid acarsd data
70: if not string.match(data, "acarsd") then
Version
This page has been created based on Nmap version 7.92.
Go back to menu.