Nmap Development mailing list archives

Re: prerule and reading files


From: Ron <ron () skullsecurity net>
Date: Tue, 16 Nov 2010 22:56:23 -0600

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

On Tue, 16 Nov 2010 16:31:08 -0800 (PST) Carlos Pantelides <carlos_pantelides () yahoo com> wrote:
You would just change
the library to open and save the contents of the file on
loading the
library.

Im sorry, I dont understand. Which library are you refering to?

Returning to my need of loading a list of host names, just like
passwords and usernames. Can I extend /nselib/unpwdb.lua to handle
that?
I think Patrick's suggesting you do what I do in http-enum.lua - the first time the script runs, it loads the file and 
saves it to the registry. Any script after uses it from the registry. 

Ron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkzjYHcACgkQ2t2zxlt4g/R5BACfe/Ah10fce042yD47UC0in2UW
2z4AnjpWZbumtWtjABsvukd0cRuHnK2j
=gCFE
-----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: