From 5c1c3276794056479ddc5f9b1c7453e8fa42a74c Mon Sep 17 00:00:00 2001 From: Artem <106631540+rzc0d3r@users.noreply.github.com> Date: Mon, 20 Nov 2023 11:21:47 +0200 Subject: [PATCH] Update to v1.0.9.2 (201123-1109) Increasing the stability of the algorithm: Previously, when confirming an account, the site would automatically redirect to the homepage, but the algorithm would redirect itself there again, during the second redirect the algorithm might mistakenly click a button in advance, and after the redirect was complete the algorithm would not click that button when it should have. Now the algorithm doesn't redirect itself to the home page, the site does. --- modules/eset_keygen.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/modules/eset_keygen.py b/modules/eset_keygen.py index b29275e2b8..89df8acd16 100644 --- a/modules/eset_keygen.py +++ b/modules/eset_keygen.py @@ -1,5 +1,5 @@ -# v1.0.9.2 (201123-1006) -VERSION = 'v1.0.9.2 (201123-1006) by rzc0d3r' +# v1.0.9.2 (201123-1109) +VERSION = 'v1.0.9.2 (201123-1109) by rzc0d3r' from modules.logger import * from modules.shared_tools import * @@ -18,12 +18,8 @@ def __init__(self, registered_email_obj: SecEmail, driver: Chrome): def sendRequestForKey(self): exec_js = self.driver.execute_script uCE = untilConditionExecute - - console_log('\nHome page loading...', INFO) - self.driver.get("https://home.eset.com") - console_log('Home page is loaded!', OK) + console_log('\nRequest sending...', INFO) - uCE(self.driver, f"return {CLICK_WITH_BOOL}({GET_EBAV}('ion-button', 'robot', 'home-overview-empty-add-license-btn'))") console_log('Waiting for permission to request...', INFO) @@ -79,4 +75,4 @@ def getLicenseData(self): license_out_date = (''.join(re.findall(r'\d{1,2}.\d{1,2}.\d{4}', message_body))) console_log('[V2] Information successfully received!', OK) return license_name, license_out_date, license_key - time.sleep(DEFAULT_DELAY) \ No newline at end of file + time.sleep(DEFAULT_DELAY)