Comments (12)
There seem to be multiple bugs in this issue, the way I see it.
- password reset mode being triggered upon login mode failure
- Incorrect login-to-reset mode changing functionality
I will try to fix both of these.
from discord-otp-forcer.
This should be fixed in b0bf96d. Let me know if the problem persists
from discord-otp-forcer.
We got farther in, it at least displayed the invalid session ticket message and the useful stats before giving me this log
File "Documents\Discord-OTP-Forcer-main\main.py", line 67, in <module>
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 104, in loginBootstrap
codeEntry(driver, loginFields, cfg)
File "Documents\Discord-OTP-Forcer-main\src\backend.py", line 196, in codeEntry
loginTest = driver.find_element(by=By.CLASS_NAME, value='app-2CXKsg')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 1251, in find_element
return self.execute(Command.FIND_ELEMENT, {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 430, in execute
self.error_handler.check_response(response)
File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 247, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.InvalidSessionIdException: Message: invalid session id
Stacktrace:
Backtrace:
GetHandleVerifier [0x0051A813+48355]
(No symbol) [0x004AC4B1]
(No symbol) [0x003B5220]
(No symbol) [0x003D7F12]
(No symbol) [0x003D93DD]
GetHandleVerifier [0x0077AABD+2539405]
GetHandleVerifier [0x007BA78F+2800735]
GetHandleVerifier [0x007B456C+2775612]
GetHandleVerifier [0x005A51E0+616112]
(No symbol) [0x004B5F8C]
(No symbol) [0x004B2328]
(No symbol) [0x004B240B]
(No symbol) [0x004A4FF7]
BaseThreadInitThunk [0x776600C9+25]
RtlGetAppContainerNamedObjectPath [0x77A27B4E+286]
RtlGetAppContainerNamedObjectPath [0x77A27B1E+238]```
from discord-otp-forcer.
Sorry for the late reply, Does this error show up after the browser is closed and the useful info is printed?
from discord-otp-forcer.
Yes it does show up after the browser is closed and the useful info is printed
from discord-otp-forcer.
Okay that error only shows because it can't find the browser as the script is ended and you'll need to start it again.
I'll look into implement a fix for this now.
from discord-otp-forcer.
I do believe the same bug is now caused by a different issue?
Traceback (most recent call last):
File "Documents\Discord-OTP-Forcer-main\main.py", line 67, in <module>
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 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 "Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 1251, in find_element
return self.execute(Command.FIND_ELEMENT, {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 430, in execute
self.error_handler.check_response(response)
File "Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 247, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.InvalidSessionIdException: Message: invalid session id
Stacktrace:
Backtrace:
GetHandleVerifier [0x0116A813+48355]
(No symbol) [0x010FC4B1]
(No symbol) [0x01005220]
(No symbol) [0x01027F12]
(No symbol) [0x010293DD]
GetHandleVerifier [0x013CAABD+2539405]
GetHandleVerifier [0x0140A78F+2800735]
GetHandleVerifier [0x0140456C+2775612]
GetHandleVerifier [0x011F51E0+616112]
(No symbol) [0x01105F8C]
(No symbol) [0x01102328]
(No symbol) [0x0110240B]
(No symbol) [0x010F4FF7]
BaseThreadInitThunk [0x750D00C9+25]
RtlGetAppContainerNamedObjectPath [0x77087B4E+286]
RtlGetAppContainerNamedObjectPath [0x77087B1E+238]
from discord-otp-forcer.
I realize that you are still looking into it and that the commit you made probably isn't finished. I apologize for the inconvenience
from discord-otp-forcer.
Think I found the issue, Could you please download the newest version and see if it has fixed your issue?
from discord-otp-forcer.
It has not. New error text though?
`Traceback (most recent call last):
File "Documents\Discord-OTP-Forcer-main\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 "Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 1251, in find_element
return self.execute(Command.FIND_ELEMENT, {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 430, in execute
self.error_handler.check_response(response)
File "Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 247, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.InvalidSessionIdException: Message: invalid session id
Stacktrace:
Backtrace:
GetHandleVerifier [0x0116A813+48355]
(No symbol) [0x010FC4B1]
(No symbol) [0x01005220]
(No symbol) [0x01027F12]
(No symbol) [0x010293DD]
GetHandleVerifier [0x013CAABD+2539405]
GetHandleVerifier [0x0140A78F+2800735]
GetHandleVerifier [0x0140456C+2775612]
GetHandleVerifier [0x011F51E0+616112]
(No symbol) [0x01105F8C]
(No symbol) [0x01102328]
(No symbol) [0x0110240B]
(No symbol) [0x010F4FF7]
BaseThreadInitThunk [0x750D00C9+25]
RtlGetAppContainerNamedObjectPath [0x77087B4E+286]
RtlGetAppContainerNamedObjectPath [0x77087B1E+238]
During handling of the above exception, another exception occurred:
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 107, in loginBootstrap
except InvalidSessionIdException: # If the browser window is closed stop looking for TOTP login field
^^^^^^^^^^^^^^^^^^^^^^^^^
NameError: name 'InvalidSessionIdException' is not defined`
from discord-otp-forcer.
bff8a8f attempts to fix this. Not a complete fix yet
from discord-otp-forcer.
I do believe it's functioning perfectly now?
from discord-otp-forcer.
Related Issues (20)
- [Bug]: unknown timeout exception that is caused after a handful of codes HOT 5
- [Bug]: pip won't install for some reason... HOT 2
- [Bug]: not working at all
- [Bug]: Site canβt be reached HOT 5
- [Bug]: General Question
- [Bug]: Some Codes Get Rate Limited But The Script Doesn't Detect HOT 9
- [Feature Request]: CodeMode: Add backup mode which uses only Letters, not digits HOT 6
- ValueError: There is no such driver by url https://chromedriver.storage.googleapis.com/LATEST_RELEASE_115.0.5790 HOT 3
- [Bug]: Update 2FA Code Entry field to work with new login page changes HOT 3
- [Bug]: Stopped Testing For Both 6/8 Digit Backup Codes HOT 4
- [Bug]: ""Invalid"" Program Mode?? HOT 2
- [Bug]: HOT 2
- [Bug]: Backup code doesnt work HOT 12
- [Bug]: keyerror: TOTP HOT 4
- [Bug]: normal mode breaks after a while HOT 17
- [Bug]: claims that the first attempted code works before crashing HOT 3
- [Bug]: ElementNotInteractableException raised and program crash, when code submission button randomly becomes uninteractible. HOT 30
- [Feature Request]: Add enabled-by-default option to censor sensitive secrets outputted by stacktraces and logging HOT 4
- [Feature Request]: Add config option to disable log file generation
- [Bug]: chunked encoding error that leads to there being more bytes read than expected HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord-otp-forcer.