1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-04 20:46:33 +00:00

new (at least rejiggered) output system, --log-errors option, ready for 4.02Alpha1, I think

This commit is contained in:
fyodor
2006-03-04 04:17:32 +00:00
parent 848ad2a96a
commit 705123dd29
11 changed files with 260 additions and 134 deletions

View File

@@ -228,7 +228,7 @@ void NmapOps::Initialize() {
rpcscan = nullscan = xmasscan = fragscan = synscan = windowscan = 0;
maimonscan = idlescan = finscan = udpscan = ipprotscan = noresolve = 0;
force = append_output = 0;
memset(logfd, 0, sizeof(FILE *) * LOG_TYPES);
memset(logfd, 0, sizeof(FILE *) * LOG_NUM_FILES);
ttl = -1;
badsum = 0;
nmap_stdout = stdout;
@@ -245,6 +245,7 @@ void NmapOps::Initialize() {
xsl_stylesheet = strdup(tmpxsl);
spoof_mac_set = false;
mass_dns = true;
log_errors = false;
resolve_all = 0;
dns_servers = NULL;
noninteractive = false;