1
0
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:
fyodor
2007-08-11 03:31:22 +00:00
parent 3f2f00900a
commit b642be63c5
2 changed files with 24 additions and 1 deletions

View File

@@ -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;