[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nmap-dev
Subject:    Re: error when trying "slow comprehensive"
From:       Brandon Enright <bmenrigh () ucsd ! edu>
Date:       2009-04-30 23:06:59
Message-ID: 20090430230659.74fcec90 () gamma
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The missing first character in the script error is probably the \ error
that Jah fixed in r13133

Any chance you can pull down the source and compile it?  The change was
just:

- -    "  local basename = assert(match(script, '[/\\]?([^/\\]-%.nse)$'))\n"
+    "  local basename = assert(match(script, '[/\\\\]?([^/\\\\]-%.nse)$'))\n"

But unfortunately this change wasn't in nse_main.lua but rather
nse_main.cc

Your other option is to fix your script.db file by hand (just remove
the leading backslashes).

Brandon


On Thu, 30 Apr 2009 09:36:48 -0700
topher beecker <topherme@gmail.com> wrote:

> running on windows xpsp3 in vmware 6.5.2.  please see the attached
> screenshot, there is extra text highligted in red that is not in the
> cut and paste here..
> 
> Cheers!
> 
> 
> 
> 
> 
> 
> Starting Nmap 4.85BETA8 ( http://nmap.org ) at 2009-04-30 09:26
> Pacific Standard Time
> 
> NSE: failed to initialize the script engine:
> 
> C:\Program Files\Nmap\nse_main.lua:319: sn-query.nse is not a file!
> 
> stack traceback:
> 
>  [C]: in function 'assert'
> 
>  C:\Program Files\Nmap\nse_main.lua:319: in function 'Entry'
> 
>  C:\Program Files\Nmap\scripts\script.db:1: in function 'db_closure'
> 
>  C:\Program Files\Nmap\nse_main.lua:326: in function
> 'get_chosen_scripts'
> 
>  C:\Program Files\Nmap\nse_main.lua:467: in main chunk
> 
>  [C]: ?
> 
> 
> 
> QUITTING!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)

iEYEARECAAYFAkn6LxkACgkQqaGPzAsl94K7LACeNWiOsXxj2Qe1TCMQ/c4sjDjG
xpsAnAovNozdbmFrd1exBucIASOVqdCf
=gPxX
-----END PGP SIGNATURE-----

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic