Derpitron / Discord-OTP-Forcer

Selenium based discord OTP forcer
GNU Affero General Public License v3.0
43 stars 12 forks source link

[Bug]: Some Codes Get Rate Limited But The Script Doesn't Detect #65

Closed RandomPerson54163 closed 1 year ago

RandomPerson54163 commented 1 year ago

Description

When generating 8 digit backup codes, some codes get rate limited but the script doesn't detect that and writes it in used codes anyway.

Minimal Reproduction

For example:

Let's say the script tried the code "12345678" after that it tried the code "23456789" and when it tries the third code "34567890" It gets rate limited but the scripts doesn't detect that and writes it in used codes anyway and continues, even though it does detect the rate limit on the fourth code and tries that code again It doesn't try the third code ever. I tested it myself on my alt account I used the correct backup code right after I used 2 wrong backup codes It got rate limited and didn't log me in. I hope I was able to explain my problem.

Error

screenshot

Operating System Version

Windows 10

Python Version

3.11.4

Program Version

Newest One

Any other information or context?

No response

Derpitron commented 1 year ago

This is actually a feature! Let me explain:

When a code gets "ratelimited", Discord blocks that code temporarily, meaning that it doesn't actually get inputted/submitted to Discord for authentication. Rather, it just gets rejected on that attempt.

Thus, This feature re-attempts the code which got blocked.

RandomPerson54163 commented 1 year ago

Hello, thanks for the reply but that's not what I ment. I know that feature and that feature works, but what I mean is when the script inputs 2 codes the 3rd code always gets rate limited and the script doesn't say it got rate limited, It just says it didn't work and after it says it didn't work it tries a different code(4th code) and then says 4th code got rate limited but it doesn't re attempt the 3rd code it only tries the 4th code again. You can see it in the screenshot I posted above Ill try to take a screenshot again and post it here.

RandomPerson54163 commented 1 year ago

1 2

As you can see In the first photo it says that code got rate limited on discord, but on command prompt it just says it didn't work and in the second photo you can see it doesn't try the code in the first picture and tries a different one.

LuXeZs commented 1 year ago

@RandomPerson54163 Could you download the most recent version and see if it fixes this issue?

realCraymotherlol commented 1 year ago

@RandomPerson54163 Could you download the most recent version and see if it fixes this issue?

That seemed to have fixed the issue afbeelding

RandomPerson54163 commented 1 year ago

@RandomPerson54163 Could you download the most recent version and see if it fixes this issue?

Thanks I tested it and yes it fixed the issue but now there is an another problem.

After It detects that the code got rate limited and tries the code a second time, if it gets rate limited again it doesn't detect. I'll post a screenshot to show.

RandomPerson54163 commented 1 year ago

screnshot

As you can see in the screenshot after it detected that the code got rate limited, it tried the code again, but the code got rate limited again however the script didn't detect that. Is there a problem with my pc or internet speed?

LuXeZs commented 1 year ago

Just updated it to make sure it checks if it's rate limited a second time in a row.

RandomPerson54163 commented 1 year ago

Yes It works perfectly now and detects every rate limit. Thanks! I hope I will be able to recover my account with this lol