mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-05-05 08:13:46 +03:00
minor fix
This commit is contained in:
parent
560bc7cc28
commit
daa8e0d8c5
|
@ -10,6 +10,7 @@ import os
|
||||||
from xml.etree import ElementTree as et
|
from xml.etree import ElementTree as et
|
||||||
|
|
||||||
from lib.core.data import conf
|
from lib.core.data import conf
|
||||||
|
from lib.core.data import logger
|
||||||
from lib.core.data import paths
|
from lib.core.data import paths
|
||||||
from lib.core.datatype import AttribDict
|
from lib.core.datatype import AttribDict
|
||||||
from lib.core.exception import SqlmapInstallationException
|
from lib.core.exception import SqlmapInstallationException
|
||||||
|
@ -88,6 +89,8 @@ def loadPayloads():
|
||||||
for payloadFile in payloadFiles:
|
for payloadFile in payloadFiles:
|
||||||
payloadFilePath = os.path.join(paths.SQLMAP_XML_PAYLOADS_PATH, payloadFile)
|
payloadFilePath = os.path.join(paths.SQLMAP_XML_PAYLOADS_PATH, payloadFile)
|
||||||
|
|
||||||
|
#logger.debug("Parsing payloads from file '%s'" % payloadFile)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
doc = et.parse(payloadFilePath)
|
doc = et.parse(payloadFilePath)
|
||||||
except Exception, ex:
|
except Exception, ex:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user