mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
fixing problems with chars deletition by logging messages in inference mode
This commit is contained in:
parent
71028a81f5
commit
e8352e504f
3 changed files with 31 additions and 0 deletions
|
|
@ -83,6 +83,7 @@ from lib.core.settings import DBMS_DICT
|
|||
from lib.core.settings import DBMS_DIRECTORY_DICT
|
||||
from lib.core.settings import DESCRIPTION
|
||||
from lib.core.settings import DUMMY_SQL_INJECTION_CHARS
|
||||
from lib.core.settings import FORMATTER
|
||||
from lib.core.settings import NULL
|
||||
from lib.core.settings import IS_WIN
|
||||
from lib.core.settings import PLATFORM
|
||||
|
|
@ -3166,3 +3167,10 @@ def extractExpectedValue(value, expected):
|
|||
value = None
|
||||
|
||||
return value
|
||||
|
||||
def setFormatterPrependFlag(value=True):
|
||||
"""
|
||||
Sets logging formatter flag used for signaling if newline is needed before
|
||||
the logging message itself (used in inference mode)
|
||||
"""
|
||||
FORMATTER._prepend_flag = value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue