Nmap Development mailing list archives

Re: Last call for smtp-open-relay.nse - help needed


From: David Fifield <david () bamsoftware com>
Date: Thu, 18 Feb 2010 08:35:35 -0700

On Thu, Feb 18, 2010 at 01:36:43PM +0000, Duarte Silva wrote:
Okay, here are a few things.

-- @args domain Define the domain to be used in the anti-spam tests (default is nmap.scanme.org)
-- @args ip Use this to change the IP address to be used (default is the target IP address)

So something like nmap.registry.args.domain will become
nmap.registry.args.smtp-open-relay.domain right?

Yes, except you have to write it as
nmap.registry.args["smtp-open-relay.domain"].

NSE: smtp-open-relay against 69.164.193.231:25 threw an error!
EOF
stack traceback:
       [C]: in function 'try'
       ./scripts/smtp-open-relay.nse:67: in function 'dorequest'
       ./scripts/smtp-open-relay.nse:148: in function 'go'
       ./scripts/smtp-open-relay.nse:206: in function <./scripts/smtp-open-relay.nse:205>
       (tail call): ?

Ok, will take a look at it.

The problem isn't the handling of the 501 error; I think that's already
correct. The problem is the handling of the EOF. The script just needs
to check for EOF and exit gracefully.

David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/

Current thread: