Derpitron / Discord-OTP-Forcer

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

Password reset workaround #15

Closed LuXeZs closed 1 year ago

LuXeZs commented 1 year ago

This is my first time using python so if something ain't right let me know

Derpitron commented 1 year ago

This looks neat! Give me a few hours, I'll review and test the code. If all goes well, I will merge it in.

Trxnce commented 1 year ago

"[0227/140201.358:INFO:CONSOLE(152)] "[AnalyticsTrackingStore] Track: Request has been terminated Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.", source: https://discord.com/assets/cd14ce5b3de79d42c84f.js (152)" When executing for a password reset.

Trxnce commented 1 year ago

Another block that appears when executing: (this is before it starts using codes)

[0227/140238.990:INFO:CONSOLE(0)] "Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.", source: (0) [0227/140239.834:INFO:CONSOLE(152)] "WebRTC is not supported on Safari 7.x", source: https://discord.com/assets/cd14ce5b3de79d42c84f.js (152) [0227/140239.915:INFO:CONSOLE(152)] "%c[default] font-weight: bold; color: purple; [BUILD INFO] Release Channel: stable, Build Number: 177051, Version Hash: becd31ed09181bdf74fdf8f8f10e6eab74fc654e", source: https://discord.com/assets/cd14ce5b3de79d42c84f.js (152) [0227/140239.917:INFO:CONSOLE(152)] "AppCrashedFatalReport: getLastCrash not supported.", source: https://discord.com/assets/cd14ce5b3de79d42c84f.js (152) [0227/140240.082:INFO:CONSOLE(103)] "Uncaught (in promise) Error: Cannot find module './notosans-400-normalitalic.woff2'", source: https://discord.com/assets/aa6b38612af7f416ffe2.js (103) [0227/140240.189:INFO:CONSOLE(152)] "Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info. Arguments: [0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 5/13/2022 10:00 -0800, _f: undefined, _strict: undefined, _locale: [object Object] Error at Function.createFromInputFallback (https://discord.com/assets/aa6b38612af7f416ffe2.js:1305:330) at Bn (https://discord.com/assets/aa6b38612af7f416ffe2.js:1331:696) at Wn (https://discord.com/assets/aa6b38612af7f416ffe2.js:1334:356) at Zn (https://discord.com/assets/aa6b38612af7f416ffe2.js:1334:199) at Yn (https://discord.com/assets/aa6b38612af7f416ffe2.js:1333:886) at Kn (https://discord.com/assets/aa6b38612af7f416ffe2.js:1334:697) at zn (https://discord.com/assets/aa6b38612af7f416ffe2.js:1334:731) at o (https://discord.com/assets/aa6b38612af7f416ffe2.js:1301:961) at 918513 (https://discord.com/assets/ec3583b21f1deb1bec1d.js:21:346) at l (https://discord.com/assets/d662b3d1424c57c3fbc3.js:1:154) at 908570 (https://discord.com/assets/ec3583b21f1deb1bec1d.js:14:240) at l (https://discord.com/assets/d662b3d1424c57c3fbc3.js:1:154) at 596801 (https://discord.com/assets/932e94d3096017cf5842.js:14:162) at Function.l (https://discord.com/assets/d662b3d1424c57c3fbc3.js:1:154)", source: https://discord.com/assets/cd14ce5b3de79d42c84f.js (152) [0227/140240.214:INFO:CONSOLE(152)] "[DEPRECATED] Please use subscribeWithSelector middleware", source: https://discord.com/assets/cd14ce5b3de79d42c84f.js (152)

Trxnce commented 1 year ago

Update: Now opens chrome window and gives no more errors.

Derpitron commented 1 year ago

Apologies for the delay, I have exams and am not able to devote time to review the PR. This should be merged in by Friday, by rights

Farid31J commented 1 year ago

how do i use this method? can anyone help me for this?

Derpitron commented 1 year ago

Hello @Farid31J , this feature is not available as of yet, it will be added in around 1 week's time. Follow this conversation or Watch this repository to get updated on it.

Farid31J commented 1 year ago

okay, i really want to test it out but i don't know how to use it, so i guess im gonna watch the progress

Derpitron commented 1 year ago

You are doing an amazing job with your code! I apologize for not being able to test it in depth and help you out. Don't get discouraged by my comments (if you are)

Derpitron commented 1 year ago

Why does this program need the token as a user input?

LuXeZs commented 1 year ago

Why does this program need the token as a user input?

The link you get from discord to reset you password is static and looks like this https://discord.com/reset#token= So I just ask the user what the token is so it can open the reset page for them

LuXeZs commented 1 year ago

You are doing an amazing job with your code! I apologize for not being able to test it in depth and help you out. Don't get discouraged by my comments (if you are)

I'm not getting discouraged as it's my first ever time even trying to code python so learning all the little quirks has been fun and I mainly do stuff after work so I'm usually not full focused

Derpitron commented 1 year ago

The link you get from discord to reset you password is static and looks like this discord.com/reset#token= So I just ask the user what the token is so it can open the reset page for them

What if the user doesn't know their token?

Farid31J commented 1 year ago

The link you get from discord to reset you password is static and looks like this discord.com/reset#token= So I just ask the user what the token is so it can open the reset page for them

What if the user doesn't know their token?

i think he means that the token from our reset password token but im kinda confusd too what token for it.

LuXeZs commented 1 year ago

The link you get from discord to reset you password is static and looks like this discord.com/reset#token= So I just ask the user what the token is so it can open the reset page for them

What if the user doesn't know their token?

i think he means that the token from our reset password token but im kinda confusd too what token for it.

It is the the link you get from the email, you have to mainly request the reset first and then copy the token and put it in the .env

I'll add the steps to the readme when I have some free time.

Farid31J commented 1 year ago

The link you get from discord to reset you password is static and looks like this discord.com/reset#token= So I just ask the user what the token is so it can open the reset page for them

What if the user doesn't know their token?

i think he means that the token from our reset password token but im kinda confusd too what token for it.

It is the the link you get from the email, you have to mainly request the reset first and then copy the token and put it in the .env

I'll add the steps to the readme when I have some free time.

okay thanks !

LuXeZs commented 1 year ago

Forgot to look at this page before I continued my work, so my mistake for not resolving the issues but I have got a new update with hopefully all the issues resolved.

@Derpitron I'm going to work on all your suggestions today and will try explain my work better, I have been setting it up around my preference and forgetting about how easy it would be to read and understand.

Sorry everyone about the mess first time using GitHub so bear with me well I learn.

Farid31J commented 1 year ago

Forgot to look at this page before I continued my work, so my mistake for not resolving the issues but I have got a new update with hopefully all the issues resolved.

@Derpitron I'm going to work on all your suggestions today and will try explain my work better, I have been setting it up around my preference and forgetting about how easy it would be to read and understand.

Sorry everyone about the mess first time using GitHub so bear with me well I lea

it's fine! atleast i can used it after it done, or someone can test it for me, cause im not really understand to some coding stuff

Farid31J commented 1 year ago

Screenshot (78)

im trying resetting the password and try to test it

Derpitron commented 1 year ago

@Farid31J the program is working as intended. Though, it is not guaranteed to always get the correct code, so you might have to attempt it many times. Run it at most 4 times a day, otherwise you may get IP banned.

Farid31J commented 1 year ago

@Farid31J the program is working as intended. Though, it is not guaranteed to always get the correct code, so you might have to attempt it many times. Run it at most 4 times a day, otherwise you may get IP banned.

okay!