juzjus10 / Epic-Account-Creator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unlink 2FA

tcmaps opened this issue · comments

as mailosaurus is a trial, it may be wise to disable 2FA after securing the game.

i use this code:

`
await driver.get('https://www.epicgames.com/account/password');
await driver.wait(until.titleIs('Change Your Password'), 150000);
await driver.sleep(3000)
await driver.executeScript('var tutu = document.getElementsByClassName("email-auth"); tutu[0].click();')
await driver.wait(until.elementLocated(By.className('common-disable-container')), 150000);
await driver.executeScript('var toto = document.getElementsByClassName("proceed-btn"); toto[0].click();')
await driver.sleep(1000);

`

you can also just XHR-POST to https://www.epicgames.com/account/v2/security/ajaxRemoveTwoFactorAuthMethod with content type=email

Thanks for the code above! I figured it out where to place the code lol. it worked for me. I will try to pull request it

where to put it? i have already 30 accounts xd what now to unlink them all?

it could be done with parts of the script to write a login + unlink one, just parse accounts.txt and loop.

Do you have discord? @tcmaps

Added in latest commit