Update banners.py

This commit is contained in:
Richard Mwewa
2022-11-25 01:54:25 +02:00
committed by GitHub
parent d42b7af59f
commit 3fa3e7a182

View File

@@ -3,69 +3,41 @@ import getpass
from octosuite.colors import red, white, green, reset
"""
banner.py
This file holds the program's banners and version tag
"""
version_tag = "2.3.3"
# banners.py
# This file holds the program's banners and version tag
version_tag = "3.0.0"
def ascii_banner():
banner_tree = Tree(getpass.getuser())
banner_tree.add(f"use {green}help{reset} command for usage")
banner_tree.add(f"commands are case insensitive\n")
ascii_banners = [
"""
"""
_______ __ _______ __ __
| |.----.| |_.-----.| __|.--.--.|__| |_.-----.
| - || __|| _| _ ||__ || | || | _| -__|
|_______||____||____|_____||_______||_____||__|____|_____|
""",
"""
▒█████ ▄████▄ ▄▄▄█████▓ ▒█████ ██████ █ ██ ██▓▄▄▄█████▓▓█████
▒██▒ ██▒▒██▀ ▀█ ▓ ██▒ ▓▒▒██▒ ██▒▒██ ▒ ██ ▓██▒▓██▒▓ ██▒ ▓▒▓█ ▀
▒██░ ██▒▒▓█ ▄ ▒ ▓██░ ▒░▒██░ ██▒░ ▓██▄ ▓██ ▒██░▒██▒▒ ▓██░ ▒░▒███
▒██ ██░▒▓▓▄ ▄██▒░ ▓██▓ ░ ▒██ ██░ ▒ ██▒▓▓█ ░██░░██░░ ▓██▓ ░ ▒▓█ ▄
░ ████▓▒░▒ ▓███▀ ░ ▒██▒ ░ ░ ████▓▒░▒██████▒▒▒▒█████▓ ░██░ ▒██▒ ░ ░▒████▒
░ ▒░▒░▒░ ░ ░▒ ▒ ░ ▒ ░░ ░ ▒░▒░▒░ ▒ ▒▓▒ ▒ ░░▒▓▒ ▒ ▒ ░▓ ▒ ░░ ░░ ▒░ ░
░ ▒ ▒░ ░ ▒ ░ ░ ▒ ▒░ ░ ░▒ ░ ░░░▒░ ░ ░ ▒ ░ ░ ░ ░ ░
░ ░ ░ ▒ ░ ░ ░ ░ ░ ▒ ░ ░ ░ ░░░ ░ ░ ▒ ░ ░ ░
░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
""",
"""
▄▄· ▄▄▄▄▄ .▄▄ · ▄• ▄▌▪ ▄▄▄▄▄▄▄▄ .
▪ ▐█ ▌▪•██ ▪ ▐█ ▀. █▪██▌██ •██ ▀▄.▀·
▄█▀▄ ██ ▄▄ ▐█.▪ ▄█▀▄ ▄▀▀▀█▄█▌▐█▌▐█· ▐█.▪▐▀▀▪▄
▐█▌.▐▌▐███▌ ▐█▌·▐█▌.▐▌▐█▄▪▐█▐█▄█▌▐█▌ ▐█▌·▐█▄▄▌
▀█▄▀▪·▀▀▀ ▀▀▀ ▀█▄▀▪ ▀▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀""",
"""
""",
"""
╔═╗┌─┐┌┬┐┌─┐╔═╗┬ ┬┬┌┬┐┌─┐
║ ║│ │ │ │╚═╗│ ││ │ ├┤
╚═╝└─┘ ┴ └─┘╚═╝└─┘┴ ┴ └─┘""",
"""
╚═╝└─┘ ┴ └─┘╚═╝└─┘┴ ┴ └─┘
""",
"""
░▒█▀▀▀█░█▀▄░▀█▀░▄▀▀▄░▒█▀▀▀█░█░▒█░░▀░░▀█▀░█▀▀
░▒█░░▒█░█░░░░█░░█░░█░░▀▀▀▄▄░█░▒█░░█▀░░█░░█▀▀
░▒█▄▄▄█░▀▀▀░░▀░░░▀▀░░▒█▄▄▄█░░▀▀▀░▀▀▀░░▀░░▀▀▀""",
"""
______ __ ______ __ __
/ \ | \ / \ | \ | \
| ▓▓▓▓▓▓\ _______ _| ▓▓_ ______ | ▓▓▓▓▓▓\__ __ \▓▓_| ▓▓_ ______
| ▓▓ | ▓▓/ \ ▓▓ \ / \| ▓▓___\▓▓ \ | \ \ ▓▓ \ / \
| ▓▓ | ▓▓ ▓▓▓▓▓▓▓ \▓▓▓▓▓▓ | ▓▓▓▓▓▓\\▓▓ \| ▓▓ | ▓▓ ▓▓\▓▓▓▓▓▓ | ▓▓▓▓▓▓\
| ▓▓ | ▓▓ ▓▓ | ▓▓ __| ▓▓ | ▓▓_\▓▓▓▓▓▓\ ▓▓ | ▓▓ ▓▓ | ▓▓ __| ▓▓ ▓▓
| ▓▓__/ ▓▓ ▓▓_____ | ▓▓| \ ▓▓__/ ▓▓ \__| ▓▓ ▓▓__/ ▓▓ ▓▓ | ▓▓| \ ▓▓▓▓▓▓▓▓
\▓▓ ▓▓\▓▓ \ \▓▓ ▓▓\▓▓ ▓▓\▓▓ ▓▓\▓▓ ▓▓ ▓▓ \▓▓ ▓▓\▓▓ \
\▓▓▓▓▓▓ \▓▓▓▓▓▓▓ \▓▓▓▓ \▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓▓▓ \▓▓▓▓▓▓▓
""",
"""
░▒█▄▄▄█░▀▀▀░░▀░░░▀▀░░▒█▄▄▄█░░▀▀▀░▀▀▀░░▀░░▀▀▀
""",
"""
▄▀▄ ▄▀▀ ▀█▀ ▄▀▄ ▄▀▀ █ █ █ ▀█▀ ██▀
▀▄▀ ▀▄▄ █ ▀▄▀ ▄██ ▀▄█ █ █ █▄▄"""]
▀▄▀ ▀▄▄ █ ▀▄▀ ▄██ ▀▄█ █ █ █▄▄
"""]
ascii_banner = random.choice(ascii_banners)
return f"""{ascii_banner} v{version_tag}
return banner_tree, f"""{ascii_banner} v{version_tag}
{white}— Advanced Github {red}OSINT{white} Framework
.:{getpass.getuser()}:.
├─ use {green}help{reset}{white} command for usage
└╼ commands are case insensitive{reset}
"""