mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-27 04:05:58 +00:00
Minor patch
This commit is contained in:
parent
fd89fdf40b
commit
36b660309b
5 changed files with 9 additions and 6 deletions
|
|
@ -1198,7 +1198,7 @@ def banner():
|
|||
This function prints sqlmap banner with its version
|
||||
"""
|
||||
|
||||
if not any(_ in sys.argv for _ in ("--version", "--api")):
|
||||
if not any(_ in sys.argv for _ in ("--version", "--api")) and not conf.get("disableBanner"):
|
||||
_ = BANNER
|
||||
|
||||
if not getattr(LOGGER_HANDLER, "is_tty", False) or "--disable-coloring" in sys.argv:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue