mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Fix for Issue #47
This commit is contained in:
parent
21d9ae0a2c
commit
d7cd55fb28
3 changed files with 2 additions and 21 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue