Skip to content

Commit d6d0c24

Browse files
authored
Merge pull request kevoreilly#2980 from adepasquale/chrome_chromium
Add more paths for Chrome & Chromium packages
2 parents f7a5d7f + 3aa2a6f commit d6d0c24

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

analyzer/windows/modules/packages/chrome.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ class Chrome(Package):
99
"""Chrome analysis package."""
1010

1111
PATHS = [
12+
("LOCALAPPDATA", "Google", "Chrome", "Application", "chrome.exe"),
1213
("ProgramFiles", "Google", "Chrome", "Application", "chrome.exe"),
13-
("LOCALAPPDATA", "Chromium", "Application", "chrome.exe"),
1414
]
1515
summary = "Opens the URL in Google Chrome."
1616
description = """Uses 'chrome.exe --disable-features=RendererCodeIntegrity "<url>"' to open the supplied url."""

analyzer/windows/modules/packages/chromium.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class Chromium(Package):
1010

1111
PATHS = [
1212
("LOCALAPPDATA", "Chromium", "Application", "chrome.exe"),
13-
("ProgramFiles", "Google", "Chrome", "Application", "chrome.exe"),
13+
("ProgramFiles", "Chromium", "Application", "chrome.exe"),
1414
]
1515
summary = "Opens the URL in Chromium."
1616
description = """Uses 'chrome.exe --disable-features=RendererCodeIntegrity "<url>"' to open the supplied url."""

analyzer/windows/modules/packages/chromium_ext.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ class ChromiumExt(Package):
1212
"""Chromium extension analysis package."""
1313

1414
PATHS = [
15-
("LOCALAPPDATA", "Chromium", "chrome.exe"),
15+
("LOCALAPPDATA", "Chromium", "Application", "chrome.exe"),
16+
("ProgramFiles", "Chromium", "Application", "chrome.exe"),
1617
]
1718
summary = "Opens the URL in Chromium with loaded extension."
1819
description = """Runs Chromium preloaded with a custom extensios."""

analyzer/windows/modules/packages/crx.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ class CRX(Package):
1616
"""CRX extensions analysis package."""
1717

1818
PATHS = [
19+
("LOCALAPPDATA", "Google", "Chrome", "Application", "chrome.exe"),
1920
("ProgramFiles", "Google", "Chrome", "Application", "chrome.exe"),
2021
("LOCALAPPDATA", "Chromium", "Application", "chrome.exe"),
22+
("ProgramFiles", "Chromium", "Application", "chrome.exe"),
2123
]
2224
summary = "Load the crx sample in Google Chrome as extension."
2325
description = "Uses 'chrome.exe --load-extension=<extracted_path> \

0 commit comments

Comments
 (0)