mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
Cosmetics
This commit is contained in:
@@ -573,6 +573,7 @@ def restoreDumpMarkedChars(inpStr, onlyNewlineTab=False):
|
|||||||
|
|
||||||
if isinstance(replacedString, basestring):
|
if isinstance(replacedString, basestring):
|
||||||
replacedString = replacedString.replace(DUMP_NEWLINE_MARKER, "\n").replace(DUMP_TAB_MARKER, "\t")
|
replacedString = replacedString.replace(DUMP_NEWLINE_MARKER, "\n").replace(DUMP_TAB_MARKER, "\t")
|
||||||
|
|
||||||
if not onlyNewlineTab:
|
if not onlyNewlineTab:
|
||||||
replacedString = replacedString.replace(DUMP_START_MARKER, "").replace(DUMP_STOP_MARKER, "")
|
replacedString = replacedString.replace(DUMP_START_MARKER, "").replace(DUMP_STOP_MARKER, "")
|
||||||
replacedString = replacedString.replace(DUMP_DEL_MARKER, ", ")
|
replacedString = replacedString.replace(DUMP_DEL_MARKER, ", ")
|
||||||
|
|||||||
@@ -199,6 +199,7 @@ def __loadQueries():
|
|||||||
"""
|
"""
|
||||||
Loads queries from 'xml/queries.xml' file.
|
Loads queries from 'xml/queries.xml' file.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
for node in xmlobject.XMLFile(path=paths.QUERIES_XML, textfilter=sanitizeStr).root.dbms:
|
for node in xmlobject.XMLFile(path=paths.QUERIES_XML, textfilter=sanitizeStr).root.dbms:
|
||||||
queries[node.value] = node
|
queries[node.value] = node
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user