Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: Ncrack 0.4ALPHA Release
From: David Fifield <david () bamsoftware com>
Date: Thu, 28 Apr 2011 07:55:16 -0700

On Thu, Apr 28, 2011 at 04:01:50PM +0300, ithilgore - wrote:
On Thu, Apr 28, 2011 at 3:05 PM, Luis MartinGarcia.
<luis.mgarc () gmail com> wrote:
On 04/28/2011 01:32 PM, ithilgore - wrote:
Hello nmap-dev.

I am pleased to announce the 0.4ALPHA release of the high-speed
network authentication cracking tool Ncrack. This release brings you the VNC
module - a fine contribution by rhh of rycon.hu, the Ncrack
Developer's Guide (which
has also been announced on a separate mail previously) and some additional
(mostly debugging) extensions and important bug fixes.


I haven't tested the VNC module, as I have not VNC server I can play
with, but I'm happy to report that it compiles fine on my 2.6.35-23
x86_64 box. Just one thing: I get a small warning:

ncrack_rdp.cc: In function ‘int rdp_get_crypto(Connection*, u_char*)’:
ncrack_rdp.cc:3224: warning: format ‘%d’ expects type ‘int’, but
argument 4 has type ‘long int’
ncrack_rdp.cc:3224: warning: format ‘%d’ expects type ‘int’, but
argument 4 has type ‘long int’

Hello Luis,
I don't get this warning with either gcc version 4.6.0 20110415
(prerelease) on x86 or gcc version 4.5.2 20110127 (prerelease) (GCC)
on x86_64 but nevertheless I think it's better to fix it by changing
snprintf to use %ld instead of casting to int (which might have an
impact on precision)

Using "%ld" is what I thought of too.

David Fifield
Sent through the nmap-dev mailing list
Archived at http://seclists.org/nmap-dev/

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]