Nmap Development mailing list archives

Windows NSE bug in latest SVN?


From: Michael Pattrick <mpattrick () rhinovirus org>
Date: Fri, 24 Apr 2009 20:43:05 -0400

I was trying out the latest SVN when I hit a snag. It appears that
updatedb is broken on windows.

.\nmap.exe --script_updatedb

Starting Nmap 4.85BETA8 ( http://nmap.org ) at 2009-04-24 20:14
Eastern Daylight Time
NSE: Updating rule database.
NSE script database updated successfully.
Nmap done: 0 IP addresses (0 hosts up) scanned in 2.53 seconds

.\nmap.exe --script=all 192.168.1.1

Starting Nmap 4.85BETA8 ( http://nmap.org ) at 2009-04-24 20:15
Eastern Daylight Time
NSE: failed to initialize the script engine:
...Studio 2008\Projects\nmap\mswin32\Debug\nse_main.lua:324:
nonFTP.nse is not a file!
stack traceback:
        [C]: in function 'assert'
        ...Studio 2008\Projects\nmap\mswin32\Debug\nse_main.lua:324:
in function 'Entry'
        ...o 2008\Projects\nmap\mswin32\Debug\scripts\script.db:40: in
function 'db_closure'
        ...Studio 2008\Projects\nmap\mswin32\Debug\nse_main.lua:331:
in function 'get_chosen_scripts'
        ...Studio 2008\Projects\nmap\mswin32\Debug\nse_main.lua:472:
in main chunk
        [C]: ?

QUITTING!



When I opened the script.db file I discovered an escape at the
beginning of every filename.
Entry { category = "auth", filename = "\anonFTP.nse" }
Entry { category = "default", filename = "\anonFTP.nse" }
Entry { category = "intrusive", filename = "\anonFTP.nse" }
Entry { category = "discovery", filename = "\asn-query.nse" }
Entry { category = "external", filename = "\asn-query.nse" }

I also had a friend test this out with the latest beta and he
encountered the same bug.

Cheers,
Michael

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


Current thread: