Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: Windows NSE bug in latest SVN?
From: Patrick Donnelly <batrick () batbytes com>
Date: Fri, 24 Apr 2009 19:38:26 -0600

Hi Michael,

On Fri, Apr 24, 2009 at 6:43 PM, Michael Pattrick
<mpattrick () rhinovirus org> wrote:
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

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]: ?


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.

This should be corrected in r13067.


-Patrick Donnelly

"One of the lessons of history is that nothing is often a good thing
to do and always a clever thing to say."

-Will Durant

Sent through the nmap-dev mailing list
Archived at http://SecLists.Org

  By Date           By Thread  

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