Files
PlayReadyProxy-API/modules/banners.py
T
Fenix4692 9713cd60b7 Fixed Gen Challenge
The get_challenge functions ins't called previously.. add also more debug, and what made the api when parse the challenge from extension. also now grab correct keys.
2025-03-03 17:37:25 +01:00

27 lines
2.1 KiB
Python

import pyfiglet
import random, os
from colorama import Fore, Back, Style, init
init(autoreset=True)
def clear_terminal():
os.system('cls' if os.name == 'nt' else 'clear')
def banners():
#clear_terminal()
banners = """
██████╗ ██╗ █████╗ ██╗ ██╗██████╗ ███████╗ █████╗ ██████╗ ██╗ ██╗ █████╗ ██████╗ ██╗
██╔══██╗██║ ██╔══██╗╚██╗ ██╔╝██╔══██╗██╔════╝██╔══██╗██╔══██╗╚██╗ ██╔╝ ██╔══██╗██╔══██╗██║
██████╔╝██║ ███████║ ╚████╔╝ ██████╔╝█████╗ ███████║██║ ██║ ╚████╔╝█████╗███████║██████╔╝██║
██╔═══╝ ██║ ██╔══██║ ╚██╔╝ ██╔══██╗██╔══╝ ██╔══██║██║ ██║ ╚██╔╝ ╚════╝██╔══██║██╔═══╝ ██║
██║ ███████╗██║ ██║ ██║ ██║ ██║███████╗██║ ██║██████╔╝ ██║ ██║ ██║██║ ██║
╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝
Author: GITHUB.COM/THATNOTEASY
"""
# Split the banner into lines
banner_lines = banners.split('\n')
colors = [Fore.RED, Fore.GREEN, Fore.YELLOW, Fore.BLUE, Fore.CYAN, Fore.MAGENTA]
for line in banner_lines:
random_color = random.choice(colors)
print(random_color + line)