mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
minor bug fix for displaying text from windows machines (\r was interfering with normal dataToStdout behavior)
This commit is contained in:
@@ -575,9 +575,9 @@ def replaceNewlineTabs(inpStr, stdout=False):
|
||||
return
|
||||
|
||||
if stdout:
|
||||
replacedString = inpStr.replace("\n", " ").replace("\t", " ")
|
||||
replacedString = inpStr.replace("\n", " ").replace("\r", " ").replace("\t", " ")
|
||||
else:
|
||||
replacedString = inpStr.replace("\n", DUMP_NEWLINE_MARKER).replace("\t", DUMP_TAB_MARKER)
|
||||
replacedString = inpStr.replace("\n", DUMP_NEWLINE_MARKER).replace("\r", " ").replace("\t", DUMP_TAB_MARKER)
|
||||
|
||||
replacedString = replacedString.replace(kb.misc.delimiter, DUMP_DEL_MARKER)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user