Skip to content

Commit

Permalink
Update to v1.0.9.2 (201123-1109)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rzc0d3r authored Nov 20, 2023
1 parent dc2d4b5 commit 5c1c327
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions modules/eset_keygen.py
Original file line number Diff line number Diff line change
@@ -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 *
Expand All @@ -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)
Expand Down Expand Up @@ -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)
time.sleep(DEFAULT_DELAY)

0 comments on commit 5c1c327

Please sign in to comment.