mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-09 17:51:33 +00:00
Fixes #4294
This commit is contained in:
parent
435fd49f1d
commit
4077a359f4
3 changed files with 4 additions and 2 deletions
|
|
@ -1348,7 +1348,7 @@ def banner():
|
|||
if not any(_ in sys.argv for _ in ("--version", "--api")) and not conf.get("disableBanner"):
|
||||
result = BANNER
|
||||
|
||||
if not IS_TTY or "--disable-coloring" in sys.argv:
|
||||
if not IS_TTY or any(_ in sys.argv for _ in ("--disable-coloring", "--disable-colouring")):
|
||||
result = clearColors(result)
|
||||
elif IS_WIN:
|
||||
coloramainit()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue