Skip to content

Commit

Permalink
added slack support to statekeys/cookies commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee Christensen committed Nov 7, 2023
1 parent d241fef commit 4844a0f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions SharpChrome/lib/Chrome.cs
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,11 @@ public static void TriageChromeCookies(Dictionary<string, string> MasterKeys, st
}
aesStateKeyPath = String.Format("{0}\\AppData\\Local\\BraveSoftware\\Brave-Browser\\User Data\\Local State", userDirectory);
}
else if (browser.ToLower() == "slack")
{
cookiePath = String.Format("{0}\\AppData\\Roaming\\Slack\\Network\\Cookies", userDirectory);
aesStateKeyPath = String.Format("{0}\\AppData\\Roaming\\Slack\\Local State", userDirectory);
}
else
{
Console.WriteLine("[X] ERROR: only 'chrome', 'edge', and 'brave' are currently supported for browsers.");
Expand Down Expand Up @@ -367,6 +372,7 @@ public static void TriageStateKeys(Dictionary<string, string> MasterKeys, string
aesKeyPaths.Add($"{userDirectory}\\AppData\\Local\\Google\\Chrome\\User Data\\Local State");
aesKeyPaths.Add($"{userDirectory}\\AppData\\Local\\Microsoft\\Edge\\User Data\\Local State");
aesKeyPaths.Add($"{userDirectory}\\AppData\\Local\\BraveSoftware\\Brave-Browser\\User Data\\Local State");
aesKeyPaths.Add($"{userDirectory}\\AppData\\Roaming\\Slack\\Local State");
}

foreach (var aesKeyPath in aesKeyPaths)
Expand Down

0 comments on commit 4844a0f

Please sign in to comment.