diff --git a/img/project_preview.png b/img/project_preview.png index b786f6512..b7e15292e 100644 Binary files a/img/project_preview.png and b/img/project_preview.png differ diff --git a/main.py b/main.py index 42eb571a3..d1743b114 100644 --- a/main.py +++ b/main.py @@ -1,7 +1,9 @@ from modules.EmailAPIs import * +import sys + # ---- Quick settings [for Developers to quickly change behavior without changing all files] ---- -VERSION = ['v1.5.2.1', 1521] +VERSION = ['v1.5.2.2', 1522] LOGO = f""" ███████╗███████╗███████╗████████╗ ██╗ ██╗███████╗██╗ ██╗ ██████╗ ███████╗███╗ ██╗ ██╔════╝██╔════╝██╔════╝╚══██╔══╝ ██║ ██╔╝██╔════╝╚██╗ ██╔╝██╔════╝ ██╔════╝████╗ ██║ @@ -15,6 +17,8 @@ soladify, AngryBonk, Xoncia, Anteneh13 """ +if '--no-logo' in sys.argv: + LOGO = f"ESET KeyGen {VERSION[0]} by rzc0d3r\n" DEFAULT_EMAIL_API = 'developermail' AVAILABLE_EMAIL_APIS = ('1secmail', 'guerrillamail', 'developermail', 'mailticking') @@ -73,24 +77,10 @@ import datetime import argparse import time -import sys import re -if '--no-logo' in sys.argv: - LOGO = f"ESET KeyGen {VERSION[0]} by rzc0d3r\n" -if datetime.datetime.now().day == 6 and datetime.datetime.now().month == 8: # Birthday of rzc0d3r - colored_logo = '' - colors = [getattr(Fore, attr) for attr in dir(Fore) if not attr.startswith('__')] - colors.remove(Fore.BLACK) - colors.remove(Fore.WHITE) - colors.remove(Fore.LIGHTWHITE_EX) - for line in LOGO.split('\n'): - for ch in line: - color = random.choice(colors) - colored_logo += (color+ch+Fore.RESET) - colored_logo += '\n' - colored_logo += f'{Fore.GREEN}rzc0d3r{Fore.RESET} celebrates his {Fore.LIGHTRED_EX}birthday{Fore.RESET} today!!! :)\n' - LOGO = colored_logo +# ----------------------------------------------------------------------------------------------- + def RunMenu(): MainMenu = ViewMenu(LOGO+'\n---- Main Menu ----') diff --git a/modules/EsetTools.py b/modules/EsetTools.py index 3b793a601..7275164ba 100644 --- a/modules/EsetTools.py +++ b/modules/EsetTools.py @@ -146,10 +146,10 @@ def sendRequestForVPNCodes(self): console_log('\nSending a request for VPN subscriptions...', INFO) self.driver.get("https://home.eset.com/security-features") try: - uCE(self.driver, f'return {GET_EBAV}("button", "data-label", "security-feature-tile-1-button") != null', max_iter=10) - uCE(self.driver, f'return {CLICK_WITH_BOOL}({GET_EBAV}("button", "data-label", "security-feature-tile-1-button").querySelector(".css-l83yl9"))', max_iter=5) + uCE(self.driver, f'return {CLICK_WITH_BOOL}({GET_EBAV}("button", "data-label", "security-feature-explore-button"))', max_iter=10) except: raise RuntimeError('Explore-feature-button error!') + time.sleep(0.5) for profile in exec_js(f'return {GET_EBAV}("button", "data-label", "choose-profile-tile-button", -1)'): # choose Me profile if profile.get_attribute("innerText").find(self.email_obj.email) != -1: # Me profile contains an email address profile.click()