mirror of
https://github.com/nmap/nmap.git
synced 2026-01-05 22:19:03 +00:00
merge soc07 r4803 - Implement the --services option using a filename translation map and some additional logic in nmap_fetchfile.
This commit is contained in:
@@ -299,6 +299,11 @@ class NmapOps {
|
||||
int ttl; // Time to live
|
||||
int badsum;
|
||||
char *datadir;
|
||||
/* A map from abstract data file names like "nmap-services" and "nmap-os-db"
|
||||
to paths which have been requested by the user. nmap_fetchfile will return
|
||||
the file names defined in this map instead of searching for a matching
|
||||
file. */
|
||||
std::map<std::string, std::string> requested_data_files;
|
||||
bool mass_dns;
|
||||
int resolve_all;
|
||||
char *dns_servers;
|
||||
|
||||
Reference in New Issue
Block a user