mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-09 08:00:36 +03:00
Cosmetics
This commit is contained in:
parent
dec4d858b3
commit
1288def3b7
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user