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 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.

This should be corrected in r13067.

Cheers,

-- 
-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
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org

Current thread: