diff --git a/doc/THANKS b/doc/THANKS index c0c954b37..1a8b12e59 100644 --- a/doc/THANKS +++ b/doc/THANKS @@ -393,6 +393,9 @@ Anthony Zboralski Thierry Zoller for reporting a couple of major bugs +abc abc + for reporting a minor bug + Brandon E. for reporting a bug diff --git a/lib/core/xmldump.py b/lib/core/xmldump.py index 8a535e77a..f7fcb0b01 100644 --- a/lib/core/xmldump.py +++ b/lib/core/xmldump.py @@ -487,7 +487,7 @@ class XMLDump: self.__doc = xml.dom.minidom.parse(self.__outputFile) self.__root = self.__doc.childNodes[0] except ExpatError: - pass + self.__doc = Document() self.__outputFP = codecs.open(self.__outputFile, "w+", conf.dataEncoding) @@ -500,7 +500,7 @@ class XMLDump: raise sqlmapFilePathException("Wrong filename provided for saving the xml file: %s" % conf.xmlFile) def getOutputFile(self): - return self.__outputFile + return self.__outputFile def finish(self, resultStatus, resultMsg=""): '''