示例#1
0
 def title(self):
     while self.stop_time:
         if not OxygenX.Proxy.proxy:
             proxy = ''
         else:
             proxy = f' - Proxies: {len(self.proxylist)}'
         if not OxygenX.unmigrated:
             set_title(
                 f"OxygenX-{version}"
                 f" | Hits: {Counter.hits}"
                 f" - Bad: {Counter.bad}"
                 f' | NFA: {Counter.nfa}'
                 f' - SFA: {Counter.sfa}'
                 f' - Demo: {Counter.demo}'
                 f' - MFA: {Counter.emailaccess}'
                 f" | Left: {len(self.accounts) - Counter.checked}/{len(self.accounts)}"
                 f'{proxy}'
                 f' | CPM: {Counter.cpm}'
                 f' | {self.now_time()} Elapsed')
         else:
             set_title(
                 f"OxygenX-{version} | "
                 f"Hits: {Counter.hits}"
                 f" - Bad: {Counter.bad}"
                 f' | Unmigrated: {Counter.unfa}'
                 f" | Left: {len(self.accounts) - Counter.checked}/{len(self.accounts)}"
                 f'{proxy}'
                 f' | CPM: {Counter.cpm}'
                 f' | {self.now_time()} Elapsed | Unmigrated Checker')
示例#2
0
 def title(self):
     while self.stop_time:
         if not self.unmigrated:
             set_title(
                 f"AccMiner-{version}"
                 f" | Hits: {Counter.hits}"
                 f" - Bad: {Counter.bad}"
                 f'{"" if Counter.nfa == 0 else f" - NFA: {Counter.nfa}"}'
                 f'{"" if Counter.sfa == 0 else f" - SFA: {Counter.sfa}"}'
                 f'{"" if Counter.unfa == 0 else f" - Unmigrated: {Counter.unfa}"}'
                 f'{"" if Counter.demo == 0 else f" - Demo: {Counter.demo}"}'
                 f"{'' if Counter.mfa == 0 else f' - MFA: {Counter.mfa}'}"
                 f"{'' if Counter.error == 0 else f' | Errors: {Counter.error}'}"
                 f" | Left: {len(self.accounts) - Counter.checked}/{len(self.accounts)}"
                 f'{"" if not AccMiner.Proxy.proxy else f" - Proxies: {len(self.proxylist)}"}'
                 f' | CPM: {Counter.cpm}'
                 f' | {self.now_time()} Elapsed')
         else:
             set_title(
                 f"AccMiner-{version} | "
                 f"Hits: {Counter.hits}"
                 f" - Bad: {Counter.bad}"
                 f'{"" if Counter.legacy_name == 0 else f" - Legacy Lines: {Counter.legacy_name}"}'
                 f'{"" if Counter.unfa == 0 else f" - Unmigrated: {Counter.unfa}"}'
                 f"{'' if Counter.error == 0 else f' | Errors: {Counter.error}'}"
                 f" | Left: {len(self.accounts) - Counter.checked}/{len(self.accounts)}"
                 f'{"" if not AccMiner.Proxy.proxy else f" - Proxies: {len(self.proxylist)}"}'
                 f' | CPM: {Counter.cpm}'
                 f' | {self.now_time()} Elapsed | Unmigrated Checker')
示例#3
0
 def tite(self):
     while self.stop:
         proxies = len(self.proxylist)
         set_title(
             f'CheckX-{version} | '
             f'{"" if self.live == 0 else f" | Live: {self.live}"}'
             f'{"" if self.dead == 0 else f" | Dead: {self.dead}"}'
             f'{"" if self.trasp == 0 else f" | Transparent: {self.trasp}"}'
             f' | Left: {proxies - self.checked}/{proxies}'
             f' | CPM: {self.cpm}'
             f' | {self.now_time()} Elapsed')
示例#4
0
文件: clime.py 项目: dkrausea/CLIME
def level1():
    l1i = MyThread(L1Text)
    l1i.start()
    cls()
    set_title("CLIME - Level 1")
    if OS == windows:
        for exercise in WL1Exercises:
            exercise.run()
        WQuiz1.run()
    elif OS == linux:
        for exercise in LL1Exercises:
            exercise.run()
        LQuiz1.run()
    l1i.stop()
    level2()
示例#5
0
def main():
    set_title("AlphaMancala v1.0");
    startingPosition = [0, 4, 4, 4, 4, 4, 4, 0, 4, 4, 4, 4, 4, 4]
    node = Node(startingPosition, True)
    while(True):
        cls()
        printBoard(node.board)
        if(node.playerTurn):
            print("\nTurn: player")
            getTimedBestMove(node, 2, 5, 20)
        else:
            print("\nTurn: computer")
        move = input("move: ")
        move = int(move)
        node.makeMove(move)
示例#6
0
文件: clime.py 项目: dkrausea/CLIME
def level2():
    l2i = MyThread(L2Text)
    l2i.start()
    cls()
    set_title("CLIME - Level 2")
    if OS == windows:
        for exercise in WL2Exercises:
            exercise.run()
        WQuiz2.run()
    elif OS == linux:
        for exercise in LL2Exercises:
            exercise.run()
        LQuiz2.run()
    l2i.stop()
    level3()
示例#7
0
文件: clime.py 项目: dkrausea/CLIME
def main_menu():
    cls()
    set_title("CLIME - Main Menu")
    print()
    print(color_random[0] + climeLogo + fx.end)
    print(spacer + "Welcome to " + color_random[0] +
          "Command Line Interface Made Easy" + fx.end)

    print()
    print(spacer + fg.yellow + " 1" + fg.white + ") Start" + fx.end)
    print(spacer + fg.yellow + "99" + fg.white + ") Exit" + fx.end)

    choice = get_choice(["1", "99", "0"])

    if choice == "1":
        start()
    elif choice == "99" or choice == "0":
        exit_clime()
示例#8
0
文件: clime.py 项目: dkrausea/CLIME
def level3():
    l3i = MyThread(L3Text)
    l3i.start()
    cls()
    set_title("CLIME - Level 3")
    if OS == windows:
        for exercise in WL3Exercises:
            exercise.run()
        WQuiz2.run()
    elif OS == linux:
        for exercise in LL3Exercises:
            exercise.run()
        LQuiz1.run()
    l3i.stop()
    cls()
    print()
    print(spacer + color_random[0] + "End of program." + fx.end)
    time.sleep(1)
    main_menu()
示例#9
0
文件: clime.py 项目: dkrausea/CLIME
def select_os():
    cls()
    set_title("CLIME - Select an Operating System")
    print()
    print(color_random[0] + spacer +
          "Select the operating system you would like to learn:\n" + fx.end)
    print(spacer + fg.yellow + " 1" + fg.white + ") Linux" + fx.end)
    print(spacer + fg.yellow + " 2" + fg.white + ") Windows" + fx.end)
    print(spacer + fg.yellow + "99" + fg.white + ") Main Menu" + fx.end)

    choice = get_choice(["1", "2", "99"])

    global OS
    if choice == "1":
        OS = linux
        level_select()
    elif choice == "2":
        OS = windows
        level_select()
    elif choice == "99":
        main_menu()
示例#10
0
文件: clime.py 项目: dkrausea/CLIME
def level_select():
    cls()
    set_title("CLIME - Level Select")
    print(color_random[0] + "\n" + spacer + "Level Selection:\n" + fx.end)
    print(spacer + fg.yellow + " 1" + fg.white + ") Level 1: description" +
          fx.end)
    print(spacer + fg.yellow + " 2" + fg.white + ") Level 2: description" +
          fx.end)
    print(spacer + fg.yellow + " 3" + fg.white + ") Level 3: description" +
          fx.end)
    print(spacer + fg.yellow + "99" + fg.white + ") Main Menu" + fx.end)

    choice = get_choice(["1", "2", "3", "99"])

    if choice == "1":
        level1()
    elif choice == "2":
        level2()
    elif choice == "3":
        level3()
    elif choice == "99":
        main_menu()
示例#11
0
import random, string
from colorama import Fore, Style, init
from console.utils import set_title
init(convert=True)









set_title("Unde_Gen v0.2 | by Asurck")


print(Fore.LIGHTCYAN_EX + ''' 
 _____  __        _________         _________                         _______     ______ 
 __  / / /_______ ______  /_____    __  ____/_____ _______    ___   ____  __ \    __|__ \\
 _  / / / __  __ \_  __  / _  _ \   _  / __  _  _ \__  __ \   __ | / /_  / / /    ____/ /
 / /_/ /  _  / / // /_/ /  /  __/   / /_/ /  /  __/_  / / /   __ |/ / / /_/ / ___ _  __/ 
 \____/   /_/ /_/ \__,_/   \___/    \____/   \___/ /_/ /_/    _____/  \____/  _(_)/____/ 
                Created and Coded By ! Asurck 👑#0262 - ! Asurck 👑#2021



''' + Fore.LIGHTRED_EX + '''[?] ''' + Fore.LIGHTWHITE_EX + '''Los codigos se gurdaran en un archivo llamado: ''' + Fore.CYAN + '''Codes.txt

''' + Fore.LIGHTGREEN_EX + '''[!] ''' + Fore.LIGHTWHITE_EX + '''Escribe la cantidad de codigos a generas: ''')

示例#12
0
import json
import sys
import pyfiglet
from datetime import datetime
from dhooks import Webhook, Embed, File
from colorama import Fore, init
init(convert=True)
import os
import requests
import time
import getpass
from console.utils import set_title


set_title(f"Zenty Checker | by Zenty")

logo = f"""{Fore.RED}


███████╗███████╗███╗   ██╗████████╗██╗   ██╗     ██████╗██╗  ██╗███████╗ ██████╗██╗  ██╗███████╗██████╗ 
╚══███╔╝██╔════╝████╗  ██║╚══██╔══╝╚██╗ ██╔╝    ██╔════╝██║  ██║██╔════╝██╔════╝██║ ██╔╝██╔════╝██╔══██╗
  ███╔╝ █████╗  ██╔██╗ ██║   ██║    ╚████╔╝     ██║     ███████║█████╗  ██║     █████╔╝ █████╗  ██████╔╝
 ███╔╝  ██╔══╝  ██║╚██╗██║   ██║     ╚██╔╝      ██║     ██╔══██║██╔══╝  ██║     ██╔═██╗ ██╔══╝  ██╔══██╗
███████╗███████╗██║ ╚████║   ██║      ██║       ╚██████╗██║  ██║███████╗╚██████╗██║  ██╗███████╗██║  ██║
╚══════╝╚══════╝╚═╝  ╚═══╝   ╚═╝      ╚═╝        ╚═════╝╚═╝  ╚═╝╚══════╝ ╚═════╝╚═╝  ╚═╝╚══════╝╚═╝  ╚═╝
                                                                                                                                                                                                        
{Fore.RESET}"""

print(logo)

print(f"{Fore.CYAN}Pls enter a mail:{Fore.RESET}")
示例#13
0
    blue = Fore.LIGHTBLUE_EX
    white = Fore.LIGHTWHITE_EX
    magenta = Fore.LIGHTMAGENTA_EX
    agent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36'
    scraper = create_scraper(sess=Session(), browser={'custom': agent})
    mailheaders = {'user-agent': agent}
    jsonheaders = {"Content-Type": "application/json", 'Pragma': 'no-cache'}
    auth_mc = 'https://authserver.mojang.com/authenticate'
    sfa_url = 'https://api.mojang.com/user/security/challenges'
    charz = [
        '@', '!', '#', '$', '%', '^', '&', '*', ')', '(', '-', '}', '{', ']',
        '"', '+', '=', '?', '/', '.', '>', ',', '<', '`', '\'', '~', '[', '\\'
    ]
    version = '0.7'
    if OxygenX.unmigrated:
        status = 'Unmigrated Checker'
    else:
        status = 'Normal Checker'
    set_title(f'OxygenX-{version} | by ShadowOxygen | {status}')
    t = f'''{cyan}________                                     ____  ___
\_____  \ ___  ______.__. ____   ____   ____ \   \/  /
 /   |   \\\  \/  <   |  |/ ___\_/ __ \ /    \ \     /
/    |    \>    < \___  / /_/  >  ___/|   |  \/     \\
\_______  /__/\_ \/ ____\___  / \___  >___|  /___/\  \\
        \/      \/\/   /_____/      \/     \/      \_/
\n'''

    if OxygenX.version_check:
        checkforupdates()
    Main()
示例#14
0
                            'User-Agent':
                            'Mozilla/5.0 (Windows NT 10.0; Win64; x32; rv:88.0) Gecko/20100101 Firefox/87.0',
                        },
                        data={
                            'loginname': username,
                            'password': password,
                        },
                        proxies={'https': tt},
                        timeout=vars.timeout)
                    run = False
            except:
                vars.current_proxy += 1
                vars.error += 1
            if not run:
                if 'Hib' in response.text:
                    vars.invalid += 1
                    vars.checked += 1
                    break
                elif '"success":true' in response.text:
                    vars.checked += 1
                    vars.valid += 1
                    with open(f'Results\\{vars.dt_string}\\hits.txt',
                              'a') as f:
                        f.write(f'{username}:{password}\n')
                    break


if __name__ == '__main__':
    set_title('LegendaryX v1.0 | Nandi')
    Main()
示例#15
0
 def set_title(self):
     while vars.checking:
         set_title(
             f'LegendaryX v1.0 | Hits: {vars.valid} Invalid: {vars.invalid} Checked: {vars.checked}/{vars.total} | Nandi'
         )
         sleep(0.1)
示例#16
0
        choice = int(sys.argv[1])

    if choice is not None:
        cryptopals.exec(int(choice))
        sys.exit(0)
    # https://mixmastamyk.bitbucket.io/
    from console import fg, fx, defx
    from console.screen import sc as screen
    from console.utils import wait_key, set_title, cls
    from console.constants import ESC

    exit_keys = (ESC, 'q', 'Q')

    cls()

    set_title('Cryptopals')
    with screen.location(4, 4):
        print(
            fg.lightgreen(f'** {fx.i}Cryptopals challenges! {defx.i}**'),
            screen.mv_x(5),  # back up, then down
            screen.down(40),
            fg.yellow(
                f'(Hit the {fx.reverse}ESC{defx.reverse} key to exit): '),
            end='',
            flush=True,
        )

    y = 10
    for sn, challenges in cryptopals.sets():
        y += 1
        with screen.location(2, y):
示例#17
0
import json
import sys
from datetime import datetime
from colorama import Fore, init
init(convert=True)
import os
import requests
import time
import getpass
from console.utils import set_title
import easygui

debug = True

set_title(f"Simple Locate | by Sycro")

logo = f"""{Fore.RED}




                                                            
			_____ _           _        __                _   _         
			|   __|_|_____ ___| |___   |  |   ___ ___ ___| |_|_|___ ___ 
			|__   | |     | . | | -_|  |  |__| . |  _| .'|  _| | . |   |
			|_____|_|_|_|_|  _|_|___|  |_____|___|___|__,|_| |_|___|_|_|
						|_|                                           



				{Fore.WHITE}[{Fore.GREEN}+{Fore.WHITE}]{Fore.RESET}{Fore.BLUE} Discord:{Fore.RESET} https://discord.gg/GnrnBPA9
示例#18
0
class Checker:
    version_check = bool(settings['checker']['check_for_updates'])
    remove_dup = bool(settings['checker']['remove_duplicates'])
    check_site = str(settings['checker']['check_site']).lower()
    save_dead = bool(settings['checker']['save_dead'])
    debug = bool(settings['checker']['debugging'])


if __name__ == '__main__':
    init()
    clear = lambda: system('cls' if name == 'nt' else 'clear')
    lock = Lock()
    version = '2.0'
    session = Session()
    red = Fore.LIGHTRED_EX
    green = Fore.LIGHTGREEN_EX
    cyan = Fore.LIGHTCYAN_EX
    white = Fore.LIGHTWHITE_EX
    sign = f'''{cyan}
_________ .__                   __    ____  ___
\_   ___ \|  |__   ____   ____ |  | __\   \/  /
/    \  \/|  |  \_/ __ \_/ ___\|  |/ / \     /
\\     \___|   Y  \  ___/\  \___|    <  /     \\
 \______  /___|  /\___  >\___  >__|_ \/___/\  \\
        \/     \/     \/     \/     \/      \_/
\n'''
    myip = str(session.get('http://api.ipify.org').text)
    set_title(f'CheckX-{version} | By ShadowOxygen')
    Main()
示例#19
0
文件: clime.py 项目: dkrausea/CLIME
def start():
    cls()
    set_title("CLIME - Start")
    select_os()
    level_select()
示例#20
0
    option = None
    options = list(MAIN_MENU.keys())
    while not option or option not in options:
        try:
            option = int(
                input(
                    f'Zvolte {", ".join([f"{fg.lightcyan}{i}{fx.end}" for i in options])}: '
                ))
        except ValueError:
            pass
    return option


''' Hlavní menu '''
cls()
set_title('Ludus duodecim scriptorum')
menu_option = None
while menu_option != 4:
    menu_option = display_main_menu()
    if menu_option == 1 or menu_option == 2:
        ''' Průběh hry'''
        pieces = DEFAULT_PIECES if menu_option == 1 else 3
        board = Board(pieces)
        winner = board.play()
        print(f"\n{winner.piece_color}{winner}{fx.end} se stává vítězem!")
        print(
            f"\n\nStiskněte {fg.lightgreen}Enter{fx.end} pro návrat do menu.")
        sys.stdin.readline()
    elif menu_option == 3:
        ''' Pravidla '''
        cls()
示例#21
0
    rankmp = compile(r'class=\"www-mp-rank\".*>(.*)</span>')
    yellow = Fore.LIGHTYELLOW_EX
    red = Fore.LIGHTRED_EX
    green = Fore.LIGHTGREEN_EX
    cyan = Fore.LIGHTCYAN_EX
    blue = Fore.LIGHTBLUE_EX
    white = Fore.LIGHTWHITE_EX
    magenta = Fore.LIGHTMAGENTA_EX
    agent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36'
    scraper = create_scraper(sess=Session(), browser={'custom': agent})
    mailheaders = {'user-agent': agent}
    jsonheaders = {"Content-Type": "application/json", 'Pragma': 'no-cache'}
    user_url = 'https://api.mojang.com/profiles/minecraft'
    auth_mc = 'https://authserver.mojang.com/authenticate'
    sfa_url = 'https://api.mojang.com/user/security/challenges'
    charz = ['@', '!', '#', '$', '%', '^', '&', '*', ')', '(', '-', '}', '{', ']', '"', '+', '=', '?', '/',
             '.', '>', ',', '<', '`', '\'', '~', '[', '\\', ' ']
    version = '0.8'
    set_title(f'AccMiner-{version} | by FakeSmile')
    t = f'''{cyan}
    _            __  __ _                 
   / \   ___ ___|  \/  (_)_ __   ___ _ __ 
  / _ \ / __/ __| |\/| | | '_ \ / _ \ '__|
 / ___ \ (_| (__| |  | | | | | |  __/ |   
/_/   \_\___\___|_|  |_|_|_| |_|\___|_|   
\n'''

    if AccMiner.version_check:
        checkforupdates()
    Main()