Nmap Development mailing list archives
Re: script bug
From: Kris Katterjohn <katterjohn () gmail com>
Date: Fri, 22 Jan 2010 12:41:39 -0600
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/22/2010 12:21 PM, Brandon Enright wrote:
On Thu, 21 Jan 2010 16:27:29 -0500 "MELDAU, RONALD J" <RMELDAU () scana com> wrote:NSE: http-enum: Attempting to parse fingerprint file nselib/data/http-fingerprints NSE: http-enum against 10.99.24.140:443 threw an error! C:\Program Files\Nmap\scripts\http-enum.nse:198: bad argument #1 to 'lines' (nselib/data/h ttp-fingerprints: No such file or directory) stack traceback: [C]: in function 'lines' C:\Program Files\Nmap\scripts\http-enum.nse:198: in function 'get_fingerprints' C:\Program Files\Nmap\scripts\http-enum.nse:234: in function <C:\Program Files\Nma p\scripts\http-enum.nse:229> (tail call): ?I've been getting the same error out of SVN for a while now: NSE: http-enum against a.b.229.21:80 threw an error! ...menrigh/flexmap/nmap/svn/nmap//scripts/http-enum.nse:198: bad argument #1 to 'lines' (nselib/data/http-fingerprints: No such file or directory) stack traceback: [C]: in function 'lines' ...menrigh/flexmap/nmap/svn/nmap//scripts/http-enum.nse:198: in function 'get_fingerprints' ...menrigh/flexmap/nmap/svn/nmap//scripts/http-enum.nse:234: in function <...menrigh/flexmap/nmap/svn/nmap//scripts/http-enum.nse:229> (tail call): ? I do have the http-fingerprints file but I'm executing Nmap with the --datadir directive and I suspect that just isn't being taken into account by this script. I haven't looked into it any further. This isn't the source of your crash.
This should be fixed in r16541. The script got the full path from fetchfile(), but didn't use it when reading from the file. Thanks, Kris Katterjohn -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQIcBAEBAgAGBQJLWfFjAAoJEEQxgFs5kUfumwwP/0+NSNSuRFihRGBnAySBZpP5 QcE8idDbzP1//9nUfFOSc7VaK3zBlLZqNxfTEwYIZdWyRRSF9IZAadAuTHx3y7SV dK8/exDWnirGJHsmBoIFFJgkhgZu/IoIhYVfj5Rnio8NDfaG/NXn7PMFqyIuyIJZ qnTtH9DDWLXro5yo72sbzmqPxWfSB25Vbdo2mJckA/klRjBuLWEJndNwQ2GulXdb Y2cEheP2mvohIuzDAfhH5BSJumCsyT6wV7yFf6t6VPZX+OPP68F8Kc440egqftk+ ZikER2WubNgwWIbtPKyRaxzbXvwf5ipPO5kLjvNiB5RcSKYOBGXNjZGpP0Axl5+D Vu9c+97SiRA/vl8U20NkQEz+tSbl2VsdIGrWVO4NpwGCLtQx9ty0vQPk7um6OhMq iYVIt6sgmLnJcKIpLpJG25UxJzHo/Tf4RmUM0S5dJkfLVIyhHj4QmOIndqcsU9Ph yo2HAI8Q5woQdXNBLrWZsEN/+e41wR1/kfUn+++rM1Knej9L2M05JExjN8f/bYkh pjnfxv/Js927a4IAuHClyzANzpa6ZmCjR6IfISSzFJZovW5bVxAS/66VhZLqbA/n 7ljaTLiOnlYmeSeu6lSe2uKMFUG0C3fTLyn+QiUJb+0+QkNyk+iDorahS6UfWFAF LOdZyiCVOLXdg0elvjx+ =UYG6 -----END PGP SIGNATURE----- _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- script bug MELDAU, RONALD J (Jan 21)
- Re: script bug Brandon Enright (Jan 22)
- Re: script bug Kris Katterjohn (Jan 22)
- Re: script bug David Fifield (Jan 22)
- Re: script bug Brandon Enright (Jan 22)
