mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 01:26:42 +03:00
fix for a bug reported by abc abc <biedimc@gmx.net> (HierarchyRequestErr: two document elements disallowed)
This commit is contained in:
parent
6942c9a001
commit
1297df66da
|
@ -393,6 +393,9 @@ Anthony Zboralski <anthony.zboralski@bellua.com>
|
|||
Thierry Zoller <thierry@zoller.lu>
|
||||
for reporting a couple of major bugs
|
||||
|
||||
abc abc <biedimc@gmx.net>
|
||||
for reporting a minor bug
|
||||
|
||||
Brandon E. <brandonpoc@gmail.com>
|
||||
for reporting a bug
|
||||
|
||||
|
|
|
@ -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=""):
|
||||
'''
|
||||
|
|
Loading…
Reference in New Issue
Block a user