Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: [RFC] Default NSE Scripts
From: "DePriest, Jason R." <jrdepriest () gmail com>
Date: Mon, 19 May 2008 23:34:45 -0500

I'll get on fixing
502 Error: command not implemented
Thanks for the report.

On Mon, May 19, 2008 at 10:42 PM, Fyodor <> wrote:
On Mon, May 19, 2008 at 10:29:00PM -0500, DePriest, Jason R. wrote:
Thanks Arturo and Benson.  SMTPcommands.nse has been updated and attached.

The output is a little uglier,
25/tcp open  smtp    qmail smtpd
|  SMTP: EHLO reply: smtp110.sbc.mail.mud.yahoo.com, AUTH LOGIN PLAIN
|_ HELP reply: qmail home page: http://pobox.com/~djb/qmail.html
but takes up less space.

Also I recategorized it from "intrusive" to "safe" since it just runs
EHLO and HELP against smtp.  EHLO is pretty standard of any client
communicating and HELP provides similar output.

Thanks Jason.  This is looking good, but it seems to fail unecessarily
on Postfix, which does not seem to implement 'help' by default.  It
would be nice if the script still reported the EHLO results.  Here is
what happens against mail.titan.net, which handles mail for nmap-dev:

./nmap --script SMTPcommands.nse -sV -p25 mail.titan.net

Starting Nmap 4.62 ( http://nmap.org ) at 2008-05-19 20:41 PDT
Interesting ports on mail.titan.net (
25/tcp open  smtp    Postfix smtpd
|_ SMTP: HELP with errors or timeout.  Enable --script-trace to see what is happening.
Service Info: Host:  mail.titan.net

Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 0.140 seconds

The problem is this part of the SMTP discussion:

502 Error: command not implemented

I'll try to put the old format back for "verbose" output and put some
other things in for "debug", but I am not sure when I will have time.

Maybe require two verbose options for the old output.  We don't want
to get too verbose for people even if they do specify -v.


Sent through the nmap-dev mailing list
Archived at http://SecLists.Org

  By Date           By Thread  

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