Fix for Issue #47

This commit is contained in:
Miroslav Stampar
2012-07-01 11:05:04 +02:00
parent 21d9ae0a2c
commit d7cd55fb28
3 changed files with 2 additions and 21 deletions

View File

@@ -833,17 +833,6 @@ def checkFile(filename):
if not os.path.exists(filename):
raise sqlmapFilePathException, "unable to read file '%s'" % filename
def restoreDumpMarkedChars(value, onlyNewlineTab=False):
retVal = value
if isinstance(retVal, basestring):
retVal = retVal.replace(DUMP_NEWLINE_MARKER, "\n").replace(DUMP_CR_MARKER, "\r").replace(DUMP_TAB_MARKER, "\t")
if not onlyNewlineTab:
retVal = retVal.replace(DUMP_DEL_MARKER, ", ")
return retVal
def banner():
"""
This function prints sqlmap banner with its version