Nmap epmd-info NSE Script
This page contains detailed information about how to use the epmd-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/epmd-info.nse
Script categories: default, discovery, safe
Target service / protocol: epmd
Target network port(s): 4369
List of CVEs: -
Script Description
The epmd-info.nse script connects to Erlang Port Mapper Daemon (epmd) and retrieves a list of nodes with their respective port numbers.
Epmd-info NSE Script Arguments
The epmd-info.nse script does not have any arguments.
Epmd-info NSE Script Example Usage
Here's an example of how to use the epmd-info.nse script:
nmap -p 4369 --script epmd-info <target>
Epmd-info NSE Script Example Output
Here's a sample output from the epmd-info.nse script:
PORT STATE SERVICE
4369/tcp open epmd
| epmd-info.nse:
| epmd_port: 4369
| nodes:
| rabbit: 36804
|_ ejabberd: 46540
Epmd-info NSE Script Example XML Output
Here's a sample XML output from the epmd-info.nse script produced by providing the -oX <file>
Nmap option:
<elem key="epmd_port">4369</elem>
<table key="nodes">
<elem key="rabbit">36804</elem>
<elem key="ejabberd">46540</elem>
</table>
Author
- Toni Ruottu
References
- https://nmap.org/nsedoc/scripts/epmd-info.html
- https://github.com/nmap/nmap/tree/master/scripts/epmd-info.nse
See Also
Visit Nmap NSE Library for more scripts.
The epmd-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 on receive: %s
Here is a relevant code snippet related to the "Error on receive: %s" error message:
42:
43: local getline = stdnse.make_buffer(socket, "\n")
44:
45: local data, err = getline()
46: if data == nil then
47: stdnse.debug2("Error on receive: %s", err)
48: socket:close()
49: return nil
50: end
51:
52: local realport, pos = string.unpack(">I4", data)
Version
This page has been created based on Nmap version 7.92.
Go back to menu.