Nmap Development mailing list archives

possible bug


From: David Hingos <david.hingos () gmail com>
Date: Thu, 8 Mar 2012 12:21:55 -0500

I am reporting an issue as directed by the output of my installation of
nmap.

I get the following error:

log_vwrite: vsnprintf failed.  Even after increasing bufferlen to 4096000,
Vsnprintf returned -1 (logt == 8).  Please report this as a bug to nmap-dev
(including this whole error message) as described at
http://nmap.org/book/man-bugs.html.  Quitting.

QUITTING!

Assertion failed: !xml.tag_open, file ..\xml.cc, line 401

I am trying to use nmap to dump all the LDAP data from an anonymous
connection to an open LDAP service.  I keep expanding the maxobjects value
to get more data, but once I get to maxobjects=3090, it crashes.

I am using the following command:

nmap -sS -sU -p 389 -T4 -v -v -v -v -v -v -v -v -v -v -Pn --script
ldap-rootdse,ldap-search --script-args ldap.maxobjects=3090 <system address>

This is happening under nmap 5.51 on Windows XP, also utilizing the Zenmap
GUI.  I have not tried it using the latest developmental release.

A quick search did not come up with anyone else having this issue under
these circumstances.  I will attempt to troubleshoot some more and examine
the code, but I figured I'd at least report the issue first.

I figured most likely I will need to use something else or write my own
script to dump ALL the LDAP data, but it would be cool if nmap was able to
handle it.

Thanks,

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


Current thread: