Files
octosuite/octosuite/banners.py
2022-11-25 03:32:56 +02:00

45 lines
1.8 KiB
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import random
import getpass
from rich.tree import Tree
from octosuite.colors import red, white, green, reset
# 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 banner_tree, f"""{ascii_banner} v{version_tag}#dev
{white}— Advanced Github {red}OSINT{white} Framework
"""