discord.js-selfbot-v13 icon indicating copy to clipboard operation
discord.js-selfbot-v13 copied to clipboard

auto MFA handling ( password based )

Open 00nx opened this issue 1 year ago • 4 comments

Which package is the feature request for?

The core library

Feature

Add an MFA manager which outputs proper MFA secure cookie after solving the generated ticket. could be used in a few instances like vanity changing

Ideal solution or implementation

  1. fetch the ticket from response
  2. solve it using password based MFA
  3. return the secured mfa token which can be reused and the approximate expiration time

Alternative solutions or implementations

No response

Other context

No response

00nx avatar Oct 14 '24 08:10 00nx

I need an API to check

aiko-chan-ai avatar Dec 13 '24 13:12 aiko-chan-ai

the routes that discord uses and data that needs to be sent to get the cookie

TheDevYellowy avatar Dec 16 '24 03:12 TheDevYellowy

hey we wanted to implement this but the package doesn't seem to work, @xvlx any leads buddy?

apoorvcodes avatar Jan 18 '25 21:01 apoorvcodes

client.rest.cookieJar.getCookieStringSync('https://discord.com/api')

Tested with automatic TOTP-based MFA handling (v3.7+)

 __Secure-recent_mfa=jwt_token; __cfruid=string; __dcfduid=string; __sdcfduid=string

aiko-chan-ai avatar Jul 10 '25 14:07 aiko-chan-ai