Nmap Development mailing list archives

Re: missing stdnse.c


From: Jay Zeng <jiezeng03 () gmail com>
Date: Tue, 14 Jul 2009 12:08:24 -0700

Thanks David! I think you were right, the problem is on the ubuntu nmap
package as this is a newly installed box and used the ubuntu nmap package
without any custom configurations. I grabbed the source from svn and made a
new build, everything seems to be working fine. I would be very interested
in knowing how to fix that so other ubuntu users benefit from it.
Thanks!
Jay


On Tue, Jul 14, 2009 at 11:57 AM, David Fifield <david () bamsoftware com>wrote:

On Tue, Jul 14, 2009 at 11:32:53AM -0700, Jay Zeng wrote:
Hello all, I am running the following command on ubuntu 9.04, with
nmap  4.76 and lua 5.1:

nmap --script ALL localhost -d; It looks like it fails to find stdnse.c
and
all the associated files, anyone know where this file is?

Discovered open port 53/tcp on 127.0.0.1
Discovered open port 3306/tcp on 127.0.0.1
Completed Connect Scan at 18:29, 0.02s elapsed (1000 total ports)
SCRIPT ENGINE: '/usr/share/nmap/scripts/dns-test-open-recursion.nse'
threw a
run time error and could not be loaded.
/usr/share/nmap/nselib/stdnse.lua:20: module 'stdnse.c' not found:

It looks like you have an incompatibility between the version of Nmap
and the version of the files in /usr/share/nmap/nselib. The stdnse.c
module is not a Lua file, it is built into the Nmap executable. It
includes the stdnse.sleep function, which was added in Nmap 4.85BETA4.

Try removing the /usr/share/nmap/nselib directory and reinstalling Nmap
4.76. Also run "which nmap" to be sure that you are running the nmap
that you expect.

David Fifield


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


Current thread: