Nmap amqp-info NSE Script
This page contains detailed information about how to use the amqp-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/amqp-info.nse
Script categories: default, discovery, safe, version
Target service / protocol: amqp, tcp
Target network port(s): 5672
List of CVEs: -
Script Description
The amqp-info.nse script gathers information (a list of all server properties) from an AMQP (advanced message queuing protocol) server.
See http://www.rabbitmq.com/extensions.html for details on the
server-properties
field.
Amqp-info NSE Script Arguments
The amqp-info.nse script does not have any arguments.
Amqp-info NSE Script Example Usage
Here's an example of how to use the amqp-info.nse script:
nmap --script amqp-info -p5672 <target>
Amqp-info NSE Script Example Output
Here's a sample output from the amqp-info.nse script:
5672/tcp open amqp
| amqp-info:
| capabilities:
| publisher_confirms: YES
| exchange_exchange_bindings: YES
| basic.nack: YES
| consumer_cancel_notify: YES
| copyright: Copyright (C) 2007-2011 VMware, Inc.
| information: Licensed under the MPL. See http://www.rabbitmq.com/
| platform: Erlang/OTP
| product: RabbitMQ
| version: 2.4.0
| mechanisms: PLAIN AMQPLAIN
|_ locales: en_US
Amqp-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
- Sebastian Dragomir
References
- https://nmap.org/nsedoc/scripts/amqp-info.html
- https://github.com/nmap/nmap/tree/master/scripts/amqp-info.nse
- http://www.rabbitmq.com/extensions.html
- http://www.rabbitmq.com/
See Also
Visit Nmap NSE Library for more scripts.
The amqp-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.
Unable to open connection:
Here is a relevant code snippet related to the "Unable to open connection: " error message:
41:
42: action = function(host, port)
43: local cli = amqp.AMQP:new( host, port )
44:
45: local status, data = cli:connect()
46: if not status then return "Unable to open connection: " .. data end
47:
48: status, data = cli:handshake()
49: if not status then return data end
50:
51: cli:disconnect()
Version
This page has been created based on Nmap version 7.92.
Go back to menu.