dmiller
339283d4b0
Remove some unused/overused includes
2017-04-19 14:53:24 +00:00
fyodor
4bd67aa2fb
Update the Nmap license/header text to reflect latest updates to docs/legal-notices.xml
2016-12-14 00:12:23 +00:00
dmiller
b18d6fe5f7
Add --resume from XML output. Closes #316 . See #243
2016-12-06 02:55:55 +00:00
dmiller
6e33d6ac3c
Bump date in copyright headers
2016-04-04 15:38:44 +00:00
dmiller
68409b2226
Update copyright date to 2015
2015-06-03 13:01:29 +00:00
dmiller
413f8b5176
Remove standalone="yes" from xml output
...
This is complicated: a validating parser needs to know how to handle
whitespace (as ignorable markup or as a whitespace node). The default is
to treat it as a whitespace node, and the standalone="yes" tells it that
the document can be handled as such, since there is no internal doctype
definition that says otherwise. But then, when we try to validate
against our DTD, the parser sees that some elements are defined with
element-only content, which conflicts with the standalone default.
References:
http://www.w3.org/TR/REC-xml/#sec-rmd
http://bytes.com/topic/net/answers/553902-standalone-yes
2014-10-30 13:14:00 +00:00
dmiller
183566948f
Update some xml.cc comments and add encoding and standalone declarations
...
Explanatory comments within, but this came from reading the XML 1.0
spec. See some history:
http://seclists.org/nmap-dev/2013/q4/48 - Added DOCTYPE
http://seclists.org/nmap-dev/2014/q2/82 - broke Zenmap
http://seclists.org/nmap-dev/2014/q3/331 - reduced DOCTYPE
2014-10-29 14:46:11 +00:00
dmiller
345bfce521
Parameterize xml_start_document and remove external DTD URI
...
http://seclists.org/nmap-dev/2014/q3/182
2014-08-21 20:13:59 +00:00
dmiller
5adfb3b1de
Update copyright notice to 2014
2014-08-16 01:52:33 +00:00
jay
8d5ec9e310
Reapply r33420, r33421. Fix a missing right parenthesis. https://xkcd.com/859/
2014-08-15 12:09:22 +00:00
fyodor
f6f59a7cd7
Auto regeneration with latest template files, etc.
2014-08-13 22:57:43 +00:00
jay
d4cf544df6
Fix a missing bracket at the end of the IMPORTANT NMAP LICENSE TERMS part in each file
2014-08-02 19:29:50 +00:00
d33tah
fd3b2c79d3
Don't write to XML output directly in nmap.cc. Spotted and fixed by
...
Michal Hrusecki (http://seclists.org/nmap-dev/2014/q3/180 ).
2014-07-31 14:28:20 +00:00
d33tah
421176fc00
Get rid of double newline at the EOF I accidentally introduced in the
...
last commit.
2014-06-18 11:30:02 +00:00
d33tah
e3d1c178e3
Add newlines at the EOF in conformance to Daniel's coding standards
...
proposal. This only affects Nmap's root directory. We might also need to
modify the code which autogenerates Nmap's source code files such as IPv6
fingerprinting code.
2014-06-18 10:18:58 +00:00
d33tah
ccd0c02a4c
Add a lacking space in the license comment. The command I used to do this is:
...
for file in `grep "* including the terms and conditions of this license text as well. \*" * -r --files-with-match `; do sed "s/\* including the terms and conditions of this license text as well. \*/* including the terms and conditions of this license text as well. */g" -i $file; done
2013-09-11 19:06:20 +00:00
fyodor
6e01ecd452
Update an email address, fix a typo, and slightly reword a sentence.
2013-07-30 00:02:00 +00:00
fyodor
83fb10ec56
Update the Nmap copyright/license files. This isn't the new Nmap Public Source License we've been discussing on the list, but rather just a 'quick patch' to hopefully prevent some of the abuse we've been seeing from companies lately. More details on the changes will be posted to the dev list. Also, the copyright year was updated to 2013 (which is the only change to Nsock license statements).
2013-07-28 22:05:05 +00:00
fyodor
6a42ef47c0
Update the Nmap and Nsock source code headers to note new Nmap dev mailing list email address and a better URL for Nmap license.
2012-12-06 01:21:42 +00:00
david
0c8d6c9af1
Typo.
2012-05-05 18:02:34 +00:00
david
fa0713e041
Close an open start tag before a fatal error.
...
This is part of the error handler that attempts to close open XML tags
at a fatal error. The case wasn't handled where a fatal error happened
while a start tag was still open (didn't have its '>' written yet). This
came from a bug report from David Hingos.
http://seclists.org/nmap-dev/2012/q1/514
2012-03-09 00:16:39 +00:00
david
e1576d1d14
Change alloc_sprintf to return a length.
2012-03-08 23:56:26 +00:00
david
e28fb42ff4
Move alloc_sprintf from xml.cc to nbase.
2012-03-08 23:56:07 +00:00
fyodor
684f42c4ad
One more adjustment to the license text. Notes that Zenmap, Ncat, and Nping use this license. Note that contributions made directly in the src repository are treated the same as those in the mailing list.
2012-03-01 06:53:35 +00:00
fyodor
e96a7b7b24
Update the headers for each code file. This updates code copyright dates to 2012, notes the awesome NSE in the list of technology, and slightly rewords the derivative works clarification
2012-03-01 06:32:23 +00:00
david
38f6e7dcef
Clearer documentation and missing delimiter in xml.cc.
2011-12-02 18:12:42 +00:00
david
d42ef0edbc
Comment typo.
2011-06-14 19:46:43 +00:00
fyodor
86e59a8c4e
Update copyright statements from 2010 to 2011
2011-01-21 00:04:16 +00:00
david
d4e49f1075
Rearrange some headers to make sure that out nbase errno defines are seen early,
...
avoiding warning about symbol redefinitions. This is mostly moving "nmap.h" to
the top of the list.
2010-11-04 22:43:00 +00:00
david
7653cf7d4a
Move COPYING.OpenSSL to OpenSSL.txt, update copyright notices to match.
2010-10-30 03:01:50 +00:00
fyodor
1aecac420f
Update copyright year from 2009 to 2010
2010-05-03 21:20:25 +00:00
david
f3a989f989
Use safe_realloc in XML escape.
2010-04-15 02:18:58 +00:00
david
859ef5ecaf
Merge r17202:17298 from /nmap-exp/david/nmap-xml. This brings in
...
structured XML output, automatic closing of XML elements on error, and
inclusion of error messages in XML output.
2010-04-14 01:05:51 +00:00