mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Minor change on banner showing up
This commit is contained in:
parent
0c5965c7b8
commit
e07c92bce5
2 changed files with 7 additions and 6 deletions
|
|
@ -1068,10 +1068,12 @@ def banner():
|
|||
This function prints sqlmap banner with its version
|
||||
"""
|
||||
|
||||
_ = BANNER
|
||||
if not getattr(LOGGER_HANDLER, "is_tty", False):
|
||||
_ = re.sub("\033.+?m", "", _)
|
||||
dataToStdout(_, forceOutput=True)
|
||||
|
||||
if not any(_ in sys.argv for _ in ("--version", "--pickled-options")):
|
||||
_ = BANNER
|
||||
if not getattr(LOGGER_HANDLER, "is_tty", False):
|
||||
_ = re.sub("\033.+?m", "", _)
|
||||
dataToStdout(_, forceOutput=True)
|
||||
|
||||
def parsePasswordHash(password):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue