Skip to content

Commit

Permalink
Update to v1.5.2.2
Browse files Browse the repository at this point in the history
1. Changing the algorithms for --vpn-codes
2. The Easter Egg code has been removed
  • Loading branch information
rzc0d3r authored Oct 14, 2024
1 parent b97152e commit 22c8c18
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 19 deletions.
Binary file modified img/project_preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 7 additions & 17 deletions main.py
Original file line number Diff line number Diff line change
@@ -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"""
███████╗███████╗███████╗████████╗ ██╗ ██╗███████╗██╗ ██╗ ██████╗ ███████╗███╗ ██╗
██╔════╝██╔════╝██╔════╝╚══██╔══╝ ██║ ██╔╝██╔════╝╚██╗ ██╔╝██╔════╝ ██╔════╝████╗ ██║
Expand All @@ -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')
Expand Down Expand Up @@ -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 ----')
Expand Down
4 changes: 2 additions & 2 deletions modules/EsetTools.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 22c8c18

Please sign in to comment.