aboutsummaryrefslogtreecommitdiffstats
path: root/extract_token_from_browser.py
diff options
context:
space:
mode:
Diffstat (limited to 'extract_token_from_browser.py')
-rwxr-xr-xextract_token_from_browser.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/extract_token_from_browser.py b/extract_token_from_browser.py
index 1691af8..bbc4968 100755
--- a/extract_token_from_browser.py
+++ b/extract_token_from_browser.py
@@ -58,7 +58,10 @@ parser = argparse.ArgumentParser(
description="Extract Slack tokens from the browser files"
)
parser.add_argument(
- "browser", help="Which browser to extract from", metavar="<browser>"
+ "browser",
+ help="Which browser to extract from",
+ metavar="<browser>",
+ choices=["firefox", "firefox-snap", "chromium", "chrome", "chrome-beta"],
)
parser.add_argument(
"--profile", help="Profile to look up cookies for", metavar="<profile>", nargs="?"