1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-31 11:59:03 +00:00

Updated DTD, XML version, and anded scanflags attribute to scaninfo element.

This commit is contained in:
michael
2008-08-13 00:59:22 +00:00
parent 57ffa96d51
commit 931285f765
4 changed files with 36 additions and 6 deletions

View File

@@ -1499,7 +1499,7 @@ int nmap_main(int argc, char *argv[]) {
for(i=0; i < argc; i++)
log_write(LOG_XML, (i == argc-1)? "%s\" " : "%s ", fakeargv[i]);
log_write(LOG_XML, "start=\"%lu\" startstr=\"%s\" version=\"%s\" xmloutputversion=\"1.02\">\n",
log_write(LOG_XML, "start=\"%lu\" startstr=\"%s\" version=\"%s\" xmloutputversion=\"1.03\">\n",
(unsigned long) timep, mytime, NMAP_VERSION);
output_xml_scaninfo_records(&ports);