Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: [NSE] epmd-info script
From: Toni Ruottu <toni.ruottu () iki fi>
Date: Fri, 25 Mar 2011 13:31:08 +0200

One thing I am a bit unsure about with epmd-info is the output format.
The first line shows the port that the daemon itself is running on.
Should this line be changed somehow to stand out from the others? Rest
of the lines are pretty much what the daemon gives me. Should I parse
them, and show them in a table rather than lines of text? Just
printing them out seems to work, and if the format is changed to
something else human readable, this approach might be better. See the
example below.


-- @output
-- 4369/tcp open  epmd
-- | epmd-info:
-- |   epmd running on port 4369
-- |   name ignatz at port 44052
-- |_  name krazy at port 41498

On Mon, Mar 21, 2011 at 1:33 AM, Toni Ruottu <toni.ruottu () iki fi> wrote:
I wrote an info script for the Erlang Port Mapper Daemon. To try it
out you need some basic erlang packages, and a few terminal windows. I
did "apt-get install erlang-base" on Ubuntu to install the required
erlang stuff. Here is how I run it...

terminal 1 - run the daemon
command: epmd

terminal 2 - start a node
command: erl -name krazy
erlprompt: node()

terminal 3 - start another node
command: erl -name ignatz
erlprompt: node()

terminal 4 - nmap
nmap -p 4369 --script epmd-info

Sent through the nmap-dev mailing list
Archived at http://seclists.org/nmap-dev/

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]