Nmap Development mailing list archives
Re: Last call for smtp-open-relay.nse - help needed
From: David Fifield <david () bamsoftware com>
Date: Tue, 2 Mar 2010 17:56:47 -0700
On Tue, Mar 02, 2010 at 06:45:46PM -0600, Ron wrote:
On Tue, 2 Mar 2010 22:23:47 +0000 Duarte Silva <duartejcsilva () gmail com> wrote:VRFY test () xxx mb ca 550 5.1.1 <test () xxx mb ca>: Recipient address rejected: xxx.mb.ca VRFY yyy () xxx mb ca 252 2.0.0 yyy () xxx mb caHmm this is interesting. I should add a domain argument so that the script can perform tests like the ones mentioned above. The script currently doesn't take that into account because I didn't knew that it was possible to use the actual e-mail.Hmm, I thought you always had to use the domain. I know on that one you do. You can access the hostname through the 'nmap' object, so it might be enough to append @hostname to the names. That naturally assumes that the user running it typed in the hostname and not an ip range, though maybe the rDNS name would be enough?
Yeah, maybe something like the http library does: --- Get a suitable hostname string from the argument, which may be either a -- string or a host table. local function get_hostname(host) if type(host) == "table" then return host.targetname or ( host.name ~= '' and host.name ) or host.ip else return host end end host.targetname is the name the user typed in, and host.name is the reverse DNS name. 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:
- Re: Last call for smtp-open-relay.nse - help needed, (continued)
- 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 (Mar 02)
- Re: Last call for smtp-open-relay.nse - help needed David Fifield (Mar 02)
- Re: Last call for smtp-open-relay.nse - help needed Duarte Silva (Mar 02)
- Re: Last call for smtp-open-relay.nse - help needed David Fifield (Mar 02)
- Re: Last call for smtp-open-relay.nse - help needed Ron (Mar 02)
- Re: Last call for smtp-open-relay.nse - help needed Duarte Silva (Mar 02)
- Re: Last call for smtp-open-relay.nse - help needed Ron (Mar 02)
- Re: Last call for smtp-open-relay.nse - help needed David Fifield (Mar 02)
- Re: Last call for smtp-open-relay.nse - help needed Duarte Silva (Mar 03)
- Re: Last call for smtp-open-relay.nse - help needed Ron (Mar 03)
- Re: Last call for smtp-open-relay.nse - help needed Fyodor (Mar 05)
- Re: Last call for smtp-open-relay.nse - help needed Duarte Silva (Mar 07)
- smtp-enum-users.nse David Fifield (Mar 12)
- Re: smtp-enum-users.nse Duarte Silva (Mar 14)
- Re: smtp-enum-users.nse David Fifield (Mar 16)
- Re: smtp-enum-users.nse Duarte Silva (Mar 17)
- Re: smtp-enum-users.nse David Fifield (Mar 17)