1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-28 10:29:03 +00:00

Write an "Nmap scan report" heading before scan results. It includes the

reverse DNS if it differs from the forward hostname.
This commit is contained in:
david
2009-10-26 19:09:56 +00:00
parent d09218c755
commit 01f70c5432
3 changed files with 18 additions and 4 deletions

View File

@@ -178,6 +178,10 @@ void output_ports_to_machine_parseable_output(struct scan_lists *ports,
requested and the ports which it will scan for */
void output_xml_scaninfo_records(struct scan_lists *ports);
/* Writes a heading for a full scan report ("Nmap scan report for..."),
including host status and DNS records. */
void write_host_header(Target *currenths);
/* Writes host status info to the log streams (including STDOUT). An
example is "Host: 10.11.12.13 (foo.bar.example.com)\tStatus: Up\n" to
machine log. resolve_all should be passed nonzero if the user asked