Nmap Development mailing list archives
Re: [NSE][PATCH] datafiles.lua
From: Sven Klemm <sven () c3d2 de>
Date: Mon, 15 Sep 2008 10:13:51 +0200
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey jah, | | I envisioned the possibility of removing the | parse_protocols/services/rpc functions at some point in the future. The | common_files table holds a default format for the returned data for each | file and allows simply calling, for example, parse_file( "nmap-services" | ) and can easily be extended to include any future data files that might | be included with nmap. | | Personally, I think that script writers will find it more intuitive to | call parse_file in this way than being required to call specific | functions for the various data files. What do you think? the reason for the proposal was to remove a few if-branches for common file handling in parse_file(). I prefer parse_rpc() over parse_file('nmap-rpc') but I don't mind if we keep it the way it's currently implemented. Cheers, Sven - -- Sven Klemm http://cthulhu.c3d2.de/~sven/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkjOGT4ACgkQevlgTHEIT4Z+OgCeIdGcl+ZYSQWo3C4taXRr0IHS VrAAnj3ACU7Uj2fxZ3gYKcMr4AlHZM5I =ONgp -----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:
- [NSE][PATCH] datafiles.lua Sven Klemm (Sep 09)
- Re: [NSE][PATCH] datafiles.lua jah (Sep 09)
- Re: [NSE][PATCH] datafiles.lua Sven Klemm (Sep 10)
- Re: [NSE][PATCH] datafiles.lua jah (Sep 10)
- Re: [NSE][PATCH] datafiles.lua Sven Klemm (Sep 13)
- Re: [NSE][PATCH] datafiles.lua jah (Sep 13)
- Re: [NSE][PATCH] datafiles.lua Sven Klemm (Sep 15)
- Re: [NSE][PATCH] datafiles.lua David Fifield (Sep 15)
- Re: [NSE][PATCH] datafiles.lua Sven Klemm (Sep 10)
- Re: [NSE][PATCH] datafiles.lua jah (Sep 09)