MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / banner

Function banner

lib/core/common.py:1395–1408  ·  view source on GitHub ↗

This function prints sqlmap banner with its version

()

Source from the content-addressed store, hash-verified

1393 return valid
1394
1395def banner():
1396 """
1397 This function prints sqlmap banner with its version
1398 """
1399
1400 if not any(_ in sys.argv for _ in ("--version", "--api")) and not conf.get("disableBanner"):
1401 result = BANNER
1402
1403 if not IS_TTY or any(_ in sys.argv for _ in ("--disable-coloring", "--disable-colouring")):
1404 result = clearColors(result)
1405 elif IS_WIN:
1406 coloramainit()
1407
1408 dataToStdout(result, forceOutput=True)
1409
1410def parseJson(content):
1411 """

Callers 1

mainFunction · 0.90

Calls 3

clearColorsFunction · 0.85
dataToStdoutFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…