Nmap Development mailing list archives
Re: Windows NSE bug in latest SVN?
From: Brandon Enright <bmenrigh () ucsd edu>
Date: Sat, 25 Apr 2009 00:45:46 +0000
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 My quick guess is that the stray '\' isn't intended to be an escape but is actually left over from Windows using '\' as the directory delimiter rather than '/' and that we aren't stripping it. Brandon On Fri, 24 Apr 2009 20:43:05 -0400 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_updatedbStarting 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.1Starting 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
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (GNU/Linux) iEYEARECAAYFAknyXUEACgkQqaGPzAsl94JQzQCcCzToKRt6POn81mJlOP8IDA6A HgcAoLgHQnISu4Sc/itpw/b8OAy50e4p =cPrH -----END PGP SIGNATURE----- _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- Windows NSE bug in latest SVN? Michael Pattrick (Apr 24)
- Re: Windows NSE bug in latest SVN? Brandon Enright (Apr 24)
- Re: Windows NSE bug in latest SVN? Patrick Donnelly (Apr 24)