Read discord local storage using ahk

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
djuga
Posts: 88
Joined: 28 Jul 2019, 08:16

Read discord local storage using ahk

21 Apr 2021, 04:36

Need any way to get discord id using autohotkey, anybody know how to do that ?

Im make this , but its not better way for this

Code: Select all

vChar := "@"
vPath = %A_Appdata%\discord\Local Storage\leveldb\000005.ldb
oFile := FileOpen(vPath, "r")
oFile.Pos := 0
oFile.RawRead(vData, vSize := oFile.Length)
oFile.Close()
vOrd := Ord(vChar)
Loop, % vSize
if !NumGet(&vData, A_Index-1, "UChar")
NumPut(vOrd, &vData, A_Index-1, "UChar")
DiscordID := RegExReplace(SubStr(StrGet(&vData, vSize, "CP0"), InStr(StrGet(&vData, vSize, "CP0"), "user_id", CaseSensitive := false, StartingPos := 25, Occurrence := 1) + 14, 25), "[^0-9]")
Msgbox % DiscordID 
My questions are baffling! :crazy:
flightlex_
Posts: 2
Joined: 13 Apr 2022, 13:14

Re: Read discord local storage using ahk

20 Apr 2022, 02:38

i tried but it doesnt work :(
itsholy
Posts: 2
Joined: 14 Feb 2022, 02:06

Re: Read discord local storage using ahk

25 Apr 2022, 16:37

There are website for getting your discord id. You're probably wanna make a token grabber. So not gonna try to help.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Giresharu, Google [Bot], mikeyww, supplementfacts and 142 guests