INNER CODE UNIT · Python
_banner
shuvonsec/claude-bug-bounty · demo/app.py:242
def _banner() -> None:
# Skip the branded banner when SHUVONSEC_QUIET is set to any truthy value
# — keeps the recording terminal looking like a plain web server start-up.
# The local "intentionally vulnerable" notice stays in demo/README.md.
v = os.environ.get("SHUVONSEC_QUIET", "")
if v and v != "0":
return
try:
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from tools.banner import print_banner
print_banner(
"shuvonsec.me · local",
target=f"http://{HOST}:{PORT}",
)
except Exception:
pass