Nmap Development mailing list archives
Re: Last call for smtp-open-relay.nse - help needed
From: Duarte Silva <duartejcsilva () gmail com>
Date: Sat, 20 Feb 2010 21:30:37 +0000
Hi, I made all the changes that you and Fyodor recommended. I also have made some more improvements, Changed script output to show all the successful tests Changed from string concatenation to string formatting QUIT message before closing connection (as wrote in the SMTP rfc) Patch in the attachments, best regards, Duarte Silva On Thu, Feb 18, 2010 at 3:57 PM, Duarte Silva <duartejcsilva () gmail com> wrote:
Nice thanks. I will cook the fix and test it over the weekend. Best regards, Duarte On Thu, Feb 18, 2010 at 3:35 PM, David Fifield <david () bamsoftware com> wrote: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
Attachment:
smtp-open-relay.patch
Description:
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Re: Last call for smtp-open-relay.nse - help needed Duarte Silva (Jan 31)
- Re: Last call for smtp-open-relay.nse - help needed Arturo 'Buanzo' Busleiman (Jan 31)
- Re: Last call for smtp-open-relay.nse - help needed Fyodor (Jan 31)
- Re: Last call for smtp-open-relay.nse - help needed Duarte Silva (Feb 01)
- Re: Last call for smtp-open-relay.nse - help needed David Fifield (Feb 17)
- Re: Last call for smtp-open-relay.nse - help needed Arturo 'Buanzo' Busleiman (Feb 17)
- Re: Last call for smtp-open-relay.nse - help needed Duarte Silva (Feb 18)
- Re: Last call for smtp-open-relay.nse - help needed David Fifield (Feb 18)
- Re: Last call for smtp-open-relay.nse - help needed Duarte Silva (Feb 18)
- Re: Last call for smtp-open-relay.nse - help needed Duarte Silva (Feb 20)
- Re: Last call for smtp-open-relay.nse - help needed Duarte Silva (Feb 21)
- Re: Last call for smtp-open-relay.nse - help needed Duarte Silva (Feb 21)
- Re: Last call for smtp-open-relay.nse - help needed David Fifield (Feb 22)
- Re: Last call for smtp-open-relay.nse - help needed Duarte Silva (Feb 22)
- Re: Last call for smtp-open-relay.nse - help needed Duarte Silva (Feb 27)
- Re: Last call for smtp-open-relay.nse - help needed Arturo 'Buanzo' Busleiman (Feb 27)
- Re: Last call for smtp-open-relay.nse - help needed Duarte Silva (Feb 27)
- Re: Last call for smtp-open-relay.nse - help needed David Fifield (Mar 01)
- Re: Last call for smtp-open-relay.nse - help needed Ron (Mar 01)
- Message not available
- Message not available
- Re: Last call for smtp-open-relay.nse - help needed Duarte Silva (Mar 02)
- Re: Last call for smtp-open-relay.nse - help needed Duarte Silva (Feb 01)