mirror of
https://github.com/nmap/nmap.git
synced 2026-06-24 18:18:08 +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:
parent
9d45c24835
commit
e24e94c251
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue