Home page logo

nmap-dev logo Nmap Development mailing list archives

[NSE] Fix for auth-owners.nse
From: Richard Sammet <richard.sammet () googlemail com>
Date: Fri, 27 Nov 2009 20:36:19 +0100

Hi Guys,

I noticed that the script auth-owners.nse is not working with some
ident daemons. After a few seconds of debugging I identified the

 owner = string.match(owner, "USERID : .+ : (.+)\n", 1)

This would only match if the format of the reply exactly matches with
all the whitespaces. E.g. (gidentd):

22, 45200 : USERID : UNIX : root

Most of the identd's I tested this script against are replying with
(e.g. oidentd, openbsd-identd, ...):


And in this case the script will not report anything.

I wrote a small patch which fixes that issue and makes it working with
every format I've seen so far... (attached)


Attachment: auth-owners.patch

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 ]