From e24e94c251a8917945cdc9d628fe173debd7c658 Mon Sep 17 00:00:00 2001 From: david Date: Mon, 27 Oct 2008 15:05:19 +0000 Subject: [PATCH] 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. --- CHANGELOG | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index fe89a0bea..b3a0b2580 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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