mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-22 03:33:57 +00:00
minor bug fix to make --disable-coloring work on log messages too
This commit is contained in:
parent
2fa2f30d21
commit
5c8335876f
2 changed files with 17 additions and 4 deletions
|
|
@ -729,6 +729,9 @@ def boldifyMessage(message):
|
|||
return retVal
|
||||
|
||||
def setColor(message, bold=False):
|
||||
if conf.disableColoring:
|
||||
return message
|
||||
|
||||
retVal = message
|
||||
level = extractRegexResult(r"\[(?P<result>[A-Z ]+)\]", message) or kb.get("stickyLevel")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue