mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-07 17:02:39 +01:00
minor bug fix for displaying text from windows machines (\r was interfering with normal dataToStdout behavior)
This commit is contained in:
parent
3487429eac
commit
ab33651f96
1 changed files with 2 additions and 2 deletions
|
|
@ -575,9 +575,9 @@ def replaceNewlineTabs(inpStr, stdout=False):
|
||||||
return
|
return
|
||||||
|
|
||||||
if stdout:
|
if stdout:
|
||||||
replacedString = inpStr.replace("\n", " ").replace("\t", " ")
|
replacedString = inpStr.replace("\n", " ").replace("\r", " ").replace("\t", " ")
|
||||||
else:
|
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)
|
replacedString = replacedString.replace(kb.misc.delimiter, DUMP_DEL_MARKER)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue