mailing list archives
Re: updated SMTPcommands script
From: "Kris Katterjohn" <katterjohn () gmail com>
Date: Sat, 13 Oct 2007 07:34:23 -0500
On 10/12/07, DePriest, Jason R. <jrdepriest () gmail com> wrote:
I made some minor changes to SMTPcommands.nse (attached).
In addition to querying the mail server with EHLO, it now also queries
with HELP because the two commands give similar but different results.
I have a question, and I hope it doesn't come across as demeaning:
-- ASCII for "HELP\n"
-- for some reason it wouldn't reply unless I did it like this
local query = "\072\069\076\080\013\010"
Did you send "HELP\n" or "HELP\r\n" when you tested this (and it didn't
reply). It looks like you have \r\n in what you send, but you're saying
it's for \n .. or you just forgot the \r in the comment.
Above those lines in another comment (for 250 OK), it appears you're saying
you have to do it in "\0xx" form to get the \r\n, but is that accurate?
Other scripts use \r\n in strings to get that.
Not that using the \0xx form is bad or anything, but I'm just wondering if
it's really a problem or if I'm confused.
But good job with that script ;)
Sent through the nmap-dev mailing list
Archived at http://SecLists.Org