File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010from xml .etree import ElementTree as et
1111
1212from lib .core .data import conf
13+ from lib .core .data import logger
1314from lib .core .data import paths
1415from lib .core .datatype import AttribDict
1516from lib .core .exception import SqlmapInstallationException
@@ -88,6 +89,8 @@ def loadPayloads():
8889 for payloadFile in payloadFiles :
8990 payloadFilePath = os .path .join (paths .SQLMAP_XML_PAYLOADS_PATH , payloadFile )
9091
92+ #logger.debug("Parsing payloads from file '%s'" % payloadFile)
93+
9194 try :
9295 doc = et .parse (payloadFilePath )
9396 except Exception , ex :
@@ -96,5 +99,5 @@ def loadPayloads():
9699 errMsg += "sure that you haven't made any changes to it"
97100 raise SqlmapInstallationException , errMsg
98101
99- root = doc .getroot ()
100- parseXmlNode (root )
102+ root = doc .getroot ()
103+ parseXmlNode (root )
You can’t perform that action at this time.
0 commit comments