mirror of
https://github.com/nmap/nmap.git
synced 2025-12-27 18:09:01 +00:00
Add a workaround in NmapParser.py for a bug in PyXML, an add-on Python
XML library. We say
if attrs.has_key("nmap_output"):
rather than
if "nmap_output" in attrs:
because at least some versions of PyXML don't implement the __contains__
method. See http://mail.python.org/pipermail/xml-sig/2006-December/011627.html.
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
# Nmap Changelog ($Id$); -*-text-*-
|
||||
|
||||
o [Zenmap] Added a simple workaround for a bug in PyXML (an add-on
|
||||
Python XML library) that caused a crash. The crash would happen when
|
||||
loading an XML file and looked like "KeyError: 0". [David]
|
||||
|
||||
o Removed some unecessary "demo" category NSE scripts: echoTest,
|
||||
chargenTest, showHTTPVersion, and showSMTPVersion.nse. Moved
|
||||
daytimeTest from the "demo" category to "discovery". Removed
|
||||
|
||||
Reference in New Issue
Block a user