Nmap Development mailing list archives

Re: Ncrack discussion


From: jah <jah () zadkiel plus com>
Date: Thu, 14 May 2009 21:46:38 +0100

On 14/05/2009 21:27, ithilgore wrote:
However, using brackets will involve having to escape them in most shells. Since
we want to avoid that, another character might be more appropriate. What about
using slashes?
I suggested brackets because Nmap allows their use in port specification:
nmap -p [-1024]
to mean (in this case) TCP ports listed in nmap-services up-to and
including port 1024.  I wasn't aware that they might need to be escaped.
Slashes do indeed look ugly and it also looks like a path separator.
How about:

ncrack scanme.nmap.org<ftp:9000>

or perhaps not even enclosing the proto:port list:

ncrack scanme.nmap.org:21,22,ftp:9000 foo.bar.com:telnet:9000,ssh:9001

and maybe allow a few variations on the separator between the host and
it's ports/services - such as : or + or % or @

jah

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


Current thread: