mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 12:41:29 +00:00
we generally don't update the xmlversion just for a new attribute. Doing so may cause more trouble than its worth, though I'm open to convincing
This commit is contained in:
@@ -79,7 +79,7 @@
|
||||
start %attr_numeric; #IMPLIED
|
||||
startstr CDATA #IMPLIED
|
||||
version CDATA #REQUIRED
|
||||
xmloutputversion (1.03) #REQUIRED
|
||||
xmloutputversion (1.02) #REQUIRED
|
||||
>
|
||||
|
||||
<!-- this element is written in output.c:doscaninfo() -->
|
||||
|
||||
2
nmap.cc
2
nmap.cc
@@ -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.03\">\n",
|
||||
log_write(LOG_XML, "start=\"%lu\" startstr=\"%s\" version=\"%s\" xmloutputversion=\"1.02\">\n",
|
||||
(unsigned long) timep, mytime, NMAP_VERSION);
|
||||
|
||||
output_xml_scaninfo_records(&ports);
|
||||
|
||||
Reference in New Issue
Block a user