Giter VIP home page Giter VIP logo

discord-otp-forcer's Introduction

Discord-OTP-Forcer

This is a Selenium and Python based Discord TOTP forcer. It attempts to brute force randomly generated 6 or 8 digit codes with a random delay between each attempt. image Look at him go!

Instructions on how to setup and use this program can be found on the wiki

Features

  • Brute forces 6 digit TOTP codes (1 million possible codes)
  • Brute forces 8 digit Backup codes (2.82 trillion possible codes)
  • Ratelimit avoidance (Cooldown between every code attempt)
  • Robust easy to read log formatting
  • Can brute force Password Reset page's TOTP codes.
  • Waits for you to complete the hCaptcha
  • Automatically closes when the hCaptcha ticket or browser session expires, and prints useful info (e.g No. of attempted codes, time taken, no. of ratelimits)
  • Blocks analytics URLs such as Cloudflare logging, Discord Science, and Sentry.io
  • User friendly

Dependencies

  • Google Chrome
  • Python >= 3.10

Why did I make this?

In December 2021, I lost access to my passwords and OTP list due to a file syncing issue. I was able to recover most of the credentials, except for my Discord Alt. When I contacted Discord Support, they informed me that due to their security policy, they could not disable 2FA for that account, which while it is understandable, is unfortunate. As a proof-of-concept program, I hacked together this crude script which simply brute forces randomly generated 6 digit numbers to the Discord login's TOTP field.

Known Issues

  • Depends on HTML element class names in order to detect failure/success
  • Script relies on the Chrome WebDriver, thus Google Chrome will have to be installed.
  • Requires Python Version >= 3.10 to work.

Credits

  • SpaghettDev for their frick-discord-2fa script, which gave me the base for the codegen.py and textcolor.py libraries ❤️
  • LuXeZs for implementing 8-char Backup OTP code brute-forcing, Password Reset OTP forcing, various bug fixes, and maintaining this program for now ❤️

Disclaimer

Copyright (C) Derpitron 2023
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

Tldr; I am not responsible for anything you do with this script, and I do not condone (but cannot prevent) the usage of this script to hack into accounts which you do not properly own. The onus is on you to not be evil. Read the License for full information on your rights and responsibilities which pertain to this program.

discord-otp-forcer's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

discord-otp-forcer's Issues

Re-execute after timeout

Is it possible to get the program automatically execute again after discord timeout? Would reduce time.

A few questions

.Do I launch the code from git cause if so the stuff im putting in .env isn't staying and if I use the thing in the folder it doesnt really automate whatsoever if its supposed to. I also don't get a captcha. And the token says it is invalid even when I just get it. Also am I supposed to move the download out of the downloads folder onto my desktop cause I have done that. Also do I need to know the old password? Is that what the problem is, Cause if so...this really sucks for me

[bug] Program hangs after webdriver_manager reaches 100% download completion

Discussed in #62

Originally posted by Windfave June 9, 2023
after setting up the config (email, password, program mode and code mode, token) and turning on start.bat, a chrome tab opens up with discord and logs in, of course the captcha comes in. I complete that and then I am at the enter code screen.
However, nothing seems to be happening neither in the cmd or the chrome tab.

Am I doing something wrong?

I don't understand the installation

I recently got hacked on discord, and the hacker enabled 2fa, i've been desperately trying to get my account back, and I found this! But the issue is that idk how it works. Can someone help me?

[bug] Program hangs after webdriver_manager reaches 100% download completion

Description

I downloaded everything the wiki section told me to followed the instructions like it said but then when I opened start.bat it opens a command prompt says downloading then opens google chrome goes to discord then just nothing appears to happen I let it do that for the entire day yesterday and let it run the entire night but nothing changed.

Minimal Reproduction

I downloaded the zip file of the program downloaded the version of python the setup section told me to already had google chrome so I didn't have to download that then ran the setup.bat it downloaded a few things it opened the cfg.yml file I entered the information pressed continue it closed and so I ran the start.bat file it said it was downloading then opened chrome and then just nothing happened.

Error

Screenshot 2023-06-13 003428
Screenshot 2023-06-13 003624

Operating System Version

Windows 11

Python Version

3.10

Program Version

bff8a8f

Any other information or context?

Discussed in #62

Originally posted by Windfave June 9, 2023
after setting up the config (email, password, program mode and code mode, token) and turning on start.bat, a chrome tab opens up with discord and logs in, of course the captcha comes in. I complete that and then I am at the enter code screen.
However, nothing seems to be happening neither in the cmd or the chrome tab.

Am I doing something wrong?

How would I know if it worked?

My apologies for badgering, but how would I know if it worked? Is it guaranteed to stop when it gets a right code?

Also, would it be able to get on there if the account was locked?

Chromedriver error?

====== WebDriver manager ======
Current google-chrome version is 101.0.4951
Get LATEST chromedriver version for 101.0.4951 google-chrome
Driver [/home/colab/.wdm/drivers/chromedriver/linux64/101.0.4951.41/chromedriver] found in cache
main.py:15: DeprecationWarning: executable_path has been deprecated, please pass in a Service object
driver = webdriver.Chrome(ChromeDriverManager().install())
Traceback (most recent call last):
File "main.py", line 15, in
driver = webdriver.Chrome(ChromeDriverManager().install())
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/chrome/webdriver.py", line 73, in init
service_log_path, service, keep_alive)
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/chromium/webdriver.py", line 99, in init
options=options)
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 269, in init
self.start_session(capabilities, browser_profile)
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 360, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 425, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 247, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally.
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
Stacktrace:
#0 0x5579c4a04533
#1 0x5579c47631e8
#2 0x5579c478654a
#3 0x5579c4781c4a
#4 0x5579c47bcd0a
#5 0x5579c47b6e33
#6 0x5579c478c71a
#7 0x5579c478d875
#8 0x5579c4a48e1d
#9 0x5579c4a4c751
#10 0x5579c4a3307e
#11 0x5579c4a4d388
#12 0x5579c4a27fe0
#13 0x5579c4a69748
#14 0x5579c4a698c8
#15 0x5579c4a8370d
#16 0x7fc7b21746db

Chrome 2fa

It opens as normal the web and type email and password as normal.

By 2fa nothing happenes
@Derpitron

So, did it work?

Hello,
As the title says,
did u manage to recover your accounts with it?
or if you couldn't what could be the reasons?

Unable to work

Hi i'm unable to make the program work after entering the env file, is there something I'm doing wrong? do I leave the command file running after setting up the env file? should I just wait until a chrome tab opens? its been 20 min

env file doesn't exist

im a newer user and im on my MacBook air since that's all I have. I have the requirements.txt file installed although I don't know what to do from here, I can't open the setup or start files as they just open in a notepad and im not sure what to do or if that's right...

Token has expired

-been trying to use it but it keeps saying (Token has expired) even though I just got the token...
is there a way to fix this or am I doing something wrong?

reqiurements

so i have the software and i tried running the main.py but it says I don't have the requirements (the ones from the txt file) and I have no clue how to install them. can you give an explanation on how to do this

Hello

I have Chrome 111. The OTP forcer uses Chrome 84. Is there any way I can use it with Chrome 111?

My id was hacked recently

Hey my id was hacked recently and i can acces to the mail to reset the pass of it
can i use it to bypass the 2fa ?

How does one run this?

I am absolutely new to this kind of stuff and i really need this to work, if there is any possible way to get a proper tutorial to run this as someone who'd never touched such things in the past, this would be utterly a god send

hi

I am having issues setting this up and working could anyone help me

[Feature Request]: HTML language localization

Description

Implement language detection and localization.

Describe the solution you'd like

Detect user language and find HTML elements without needing to set browser to English.

Describe alternatives you've considered

No response

Any other context/information?

No response

How to use on password reset?

Is there a program that is able to brute force the 2FA on the password reset form because I lost my 2FA codes and forgot my password?

If there isn't, how do I do that?

A large quantity of errors appear

Severity Code Description Project File Line Suppression State Error unexpected token ')' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 283 Error unexpected token 'menu' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 253 Error unexpected token ':' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 253 Error unexpected indent C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 255 Error unexpected token '1' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 255 Error unexpected token ':' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 255 Error unexpected indent C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 256 Error can't assign to ErrorExpression C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 256 Error unexpected token 't' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 257 Error unexpected token ':' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 257 Error unexpected indent C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 259 Error unexpected token '1' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 259 Error unexpected token ':' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 259 Error unexpected indent C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 261 Error can't assign to ErrorExpression C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 261 Error illegal target for annotation C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 262 Error invalid syntax C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 262 Error unexpected indent C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 264 Error can't assign to ErrorExpression C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 264 Error unexpected token '<dedent>' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 264 Error unexpected token 'case' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 265 Error unexpected token '<newline>' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 265 Error unexpected indent C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 266 Error unexpected token '(' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 266 Error unexpected token ')' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 266 Error unexpected token '<dedent>' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 266 Error unexpected token '<dedent>' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 266 Error unexpected token '<dedent>' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 268 Error unexpected token 'case' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 269 Error illegal target for annotation C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 269 Error unexpected indent C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 270 Error can't assign to ErrorExpression C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 270 Error unexpected token 't' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 271 Error unexpected token ':' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 271 Error unexpected indent C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 273 Error unexpected token '1' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 273 Error unexpected token ':' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 273 Error can't assign to ErrorExpression C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 275 Error unexpected indent C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 275 Error unexpected token '<dedent>' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 275 Error unexpected token 'case' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 276 Error illegal target for annotation C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 276 Error unexpected indent C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 278 Error can't assign to ErrorExpression C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 278 Error unexpected token '<dedent>' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 278 Error unexpected token 'case' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 279 Error unexpected token '<newline>' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 279 Error unexpected indent C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 280 Error unexpected token '(' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 280 Error unexpected token ')' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 280 Error unexpected token '<dedent>' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 280 Error unexpected token '<dedent>' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 280 Error unexpected token '<dedent>' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 281 Error unexpected token 'case' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 282 Error unexpected token '<newline>' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 282 Error unexpected indent C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 283 Error unexpected token '(' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 283 Error unexpected token '<dedent>' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 283 Error unexpected token '<dedent>' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 283 Error unexpected token '<dedent>' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 283 Warning unresolved import 'lib.codegen' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 6 Warning unresolved import 'lib.textcolor' C:\Users\spage\Downloads\Discord-OTP-Forcer-main\src\main.py 7

Not very clear running instructions

how exactly am i going to run a .bat file on linux?, i use an arch linux based distribution, instructions number 2 and 4 are not very clear.

these instructions say to do the following

  1. Go to the location you installed the repository and run setup.bat.
  2. Run start.bat, Follow the instructions in the command prompt.

I had no problems when executing instructions 1 and 3, unless something is missing or wrong if anyone can help I appreciate it, I really need to recover my account but the discord as you can see makes things difficult on purpose without any intention to solve the problem. In the end, this is the only option left.

For a friend

Hello. I'm new here.
Bit of context, me and my friend were trying to stream a movie together and we were having audio and visual issues. Long story short, my friend tried to uninstall and reinstall Discord on her phone to so our stream can work properly. She ended up getting locked out of her account because she was unaware she had the 2aF authentication code enabled. So, with every attemps failed to get her account back, I decided to use Discord-OTP-Forcer to brute my way in.
Here where I came across a problem; I managed to get it worked, but then I got stuck with the error message "invalid token" on the login page:
image
What did I do wrong?

Script does not work on Python < 3.10

OS Windows 10
Phyton: Python 3.9.6 (tags/v3.9.6:db3ff76, Jun 28 2021, 15:26:21) [MSC v.1929 64 bit (AMD64)] on win32
After setting everything up, i'm getting the following error:

File "D:\KutDiscord\Discord-OTP-Forcer-main\Discord-OTP-Forcer-main\src\main.py", line 271 match menu: ^ SyntaxError: invalid syntax Press any key to continue . . .

[Bug]: Session timeout

Description

Hey there, I was checking through the documents and I was wondering if this app will intentionally time out of the session after about 300 seconds. Running it on my machine showed this behaviour multiple times and I was wondering if this was intended behaviour:

Minimal Reproduction

Can be reproduced by simply running the application to my knowledge

Error

Output:

Program mode:           login
Code mode:              normal
Number of tried codes:  28
Time elapsed for codes: 317.80392265319824
Number of ratelimits    9
Traceback (most recent call last):
  File "/home/marz/Discord-OTP-Forcer/main.py", line 67, in <module>
    userFacing(loadcfg())
  File "/home/marz/Discord-OTP-Forcer/main.py", line 63, in userFacing
    loginBootstrap(driver, cfg)
  File "/home/marz/Discord-OTP-Forcer/src/backend.py", line 99, in loginBootstrap
    loginFields['TOTP'] = driver.find_element(by=By.XPATH, value="//input[@placeholder='6-digit authentication code/8-digit backup code']") #or driver.find_element(by=By.XPATH, value="//*[@aria-label='Enter Discord Auth/Backup Code']")
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marz/Discord-OTP-Forcer/env/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 831, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marz/Discord-OTP-Forcer/env/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute
    self.error_handler.check_response(response)
  File "/home/marz/Discord-OTP-Forcer/env/lib/python3.11/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.InvalidSessionIdException: Message: invalid session id
Stacktrace:
#0 0x55eab2df34e3 <unknown>
#1 0x55eab2b22b00 <unknown>
#2 0x55eab2b52de4 <unknown>
#3 0x55eab2b5434e <unknown>
#4 0x55eab2db33e4 <unknown>
#5 0x55eab2db73d7 <unknown>
#6 0x55eab2dc1b20 <unknown>
#7 0x55eab2db8023 <unknown>
#8 0x55eab2d861aa <unknown>
#9 0x55eab2ddc6b8 <unknown>
#10 0x55eab2ddc847 <unknown>
#11 0x55eab2dec243 <unknown>
#12 0x7ff24ee8f18a <unknown>```

### Operating System Version

Ubuntu 23.04

### Python Version

3.11.2

### Program Version 

Current

### Any other information or context?

_No response_

Having an obscene amount of trouble

So, every time I try to do the 4th step (Running start.bat), it says that it doesn't detect Python. I have no clue what I'm supposed to do, as I have never coded stuff before.

help

I got locked out of my account recently and I have 2 problems rn

  1. i dont understand shit about how to download/ use this software so can someone give me a dumbed down version of what to do
  2. my discord is acting up and wont let me use the 6 number 2FA so is there like some variables I can change to make it compatible with the 8 number 2FA

[Feature Request] Input for Backup codes on Disable 2FA Field

I've lost access to my 2fa authenticator due to a phone wipe and I can't find my back-up codes. My password isn't working (nor any of my usuals, typical) however I am still logged in on chrome browser so I can access settings for 2fa, just can't turn it off as you need the codes.

I know approx 0 about any of this stuff, so sorry for what's probably an obvious question, but will this script work since I'm already logged in? I noticed your response to another question re: the password reset screen so wanted to check.

Thanks!

After installing

I'm having trouble on what exactly to do after downloading the original .zip file. I open it up and click setup.bat which opens cmd and says this:
Installing requirements...
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
Requirements installed!
Setup the .env file.

Then Notepad opens up and says:
Cannot find the C:\Windows\System32.env file.
Do you want to create a new file?

If I click back to command, a new line below writes:
Press any key to continue . . .

What do I do?

Error on windows 11

selenium.common.exceptions.StaleElementReferenceException: Message: stale element reference: stale element not found
(Session info: chrome=113.0.5672.127)

im not sure why i get this, i only get it after completing the hcaptcha

small issue with setup

Description

Traceback (most recent call last):
File "C:\Users\achug\Discord-OTP-Forcer\main.py", line 55, in
userFacing(loadcfg())
File "C:\Users\achug\Discord-OTP-Forcer\main.py", line 38, in userFacing
if cfg['programMode'] not in validProgramModes: raise ValueError("Invalid program mode inputted!")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: Invalid program mode inputted!
Press any key to continue . . .

not sure what to do to fix this issue

Minimal Reproduction

while set up

Error

Traceback (most recent call last):
File "C:\Users\achug\Discord-OTP-Forcer\main.py", line 55, in
userFacing(loadcfg())
File "C:\Users\achug\Discord-OTP-Forcer\main.py", line 38, in userFacing
if cfg['programMode'] not in validProgramModes: raise ValueError("Invalid program mode inputted!")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: Invalid program mode inputted!
Press any key to continue . . .

// not sure what to put in the "" for the progam modes i have tried true n flase but still isnt workin

Operating System Version

windows 11 64bit

Python Version

most newwst

Program Version

none

Any other information or context?

No response

[Bug]: Does not go through with closing and reopening a chrome window for Login

Description

ran like, 36 codes, then proceeded to come with a TypeError.

Minimal Reproduction

ran setup, input the info for basic login and program mode config. ran start, then it just happened.

Error

Traceback (most recent call last):
File "Documents\Discord-OTP-Forcer-main\main.py", line 67, in
userFacing(loadcfg())
File "Documents\Discord-OTP-Forcer-main\main.py", line 63, in userFacing
loginBootstrap(driver, cfg)
File "Documents\Discord-OTP-Forcer-main\src\backend.py", line 100, in loginBootstrap
codeEntry(driver, loginFields, cfg)
File "Documents\Discord-OTP-Forcer-main\src\backend.py", line 180, in codeEntry
finalStatDisplay('invalidSessionTicket', statistics)
File "Documents\Discord-OTP-Forcer-main\src\backend.py", line 220, in finalStatDisplay
f"Running {color('reset program mode')}!\n"
^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: color() missing 1 required positional argument: 'color'

[Note I did delete some of the file pathing that was in the original text log, if it's really important I can re-enter it.]

Operating System Version

Windows 10, 22H2, 19045.3031

Python Version

3.11

Program Version

334496b

Any other information or context?

No response

Nothing happens

Hello, sorry for my bad english, but I need a Help

When I use python src/main.py, the program ask me some questions of "Are you trying a password reset?" I respond "yes" and then "1".
The chrome window open but, the codes don't "pop-up". Nothing happens
image

Help Please

I'd like to ask for some help because when looking at the instructions I'm not sure how to download/clone a respository this is my first experience with this kind of stuff so help would be nice

Cannot pass "reset password" stage

I can run the script until it asks if I want to reset the password or not and asks me to input 1 or 2. No matter what I input, it is unresponsive from this point.

'find_element_by_name' is it WebDriver issue

[WDM] - ====== WebDriver manager ======
2022-07-08 00:48:07,823 INFO ====== WebDriver manager ======
[WDM] - Current google-chrome version is 103.0.5060
2022-07-08 00:48:07,871 INFO Current google-chrome version is 103.0.5060
[WDM] - Get LATEST chromedriver version for 103.0.5060 google-chrome
2022-07-08 00:48:07,871 INFO Get LATEST chromedriver version for 103.0.5060 google-chrome
[WDM] - Driver [/home/wabungus123/.wdm/drivers/chromedriver/linux64/103.0.5060.53/chromedriver] found in cache
2022-07-08 00:48:07,997 INFO Driver [/home/wabungus123/.wdm/drivers/chromedriver/linux64/103.0.5060.53/chromedriver] found in cache
/home/wabungus123/Desktop/Discord-OTP-Forcer/src/main.py:15: DeprecationWarning: executable_path has been deprecated, please pass in a Service object
driver = webdriver.Chrome(ChromeDriverManager().install())
Traceback (most recent call last):
File "/home/wabungus123/Desktop/Discord-OTP-Forcer/src/main.py", line 92, in
main()
File "/home/wabungus123/Desktop/Discord-OTP-Forcer/src/main.py", line 35, in main
loginEmail = driver.find_element_by_name("email")
AttributeError: 'WebDriver' object has no attribute 'find_element_by_name'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.