Skip to content

Commit

Permalink
Merge pull request #8 from markmckinnon/Chrome-profile-support
Browse files Browse the repository at this point in the history
Chrome profile support
  • Loading branch information
markmckinnon authored Jul 17, 2022
2 parents 58cc722 + 65199bc commit d5bfd74
Show file tree
Hide file tree
Showing 18 changed files with 23 additions and 20 deletions.
1 change: 1 addition & 0 deletions hook-plugin_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@
tmp.append("scripts.artifacts." + mod.__name__) # TODO this is a hack, if we ever move plugins this breaks

print(f"{len(tmp)} plugins loaded as hidden imports")
print (list(tmp))

hiddenimports = list(tmp)
5 changes: 3 additions & 2 deletions lleapp.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ a = Analysis(['lleapp.py'],
('.\\scripts\\feather.min.js', '.\\scripts'),
('.\\scripts\\sidebar.js', '.\\scripts'),
('.\\scripts\\custom.css', '.\\scripts'),
('.\\scripts\\MDB-Free_4.13.0', '.\\scripts\\MDB-Free_4.13.0')],
('.\\scripts\\MDB-Free_4.13.0', '.\\scripts\\MDB-Free_4.13.0'),
('.\\scripts\\artifacts\\*', '.\\scripts\\artifacts')],
hiddenimports=['simplekml', 'bs4'],
hookspath=[],
hookspath=['.\\'],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
Expand Down
5 changes: 3 additions & 2 deletions lleappGUI.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ a = Analysis(['lleappGUI.py'],
('.\\scripts\\dark-mode-switch.js', '.\\scripts'),
('.\\scripts\\sidebar.js', '.\\scripts'),
('.\\scripts\\custom.css', '.\\scripts'),
('.\\scripts\\MDB-Free_4.13.0', '.\\scripts\\MDB-Free_4.13.0')],
('.\\scripts\\MDB-Free_4.13.0', '.\\scripts\\MDB-Free_4.13.0'),
('.\\scripts\\artifacts\\*', '.\\scripts\\artifacts')],
hiddenimports=[],
hookspath=[],
hookspath=['.\\'],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
Expand Down
2 changes: 1 addition & 1 deletion scripts/artifacts/chromium.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ def get_chrome(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"chrome": (
"Browser",
('**/home/*/.config/google-chrome/default/History*'),
('**/home/*/.config/google-chrome/default/History*', '**/home/*/.config/google-chrome/Profile*/History*'),
get_chrome)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/chromiumAutofill.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ def get_chromeAutofill(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"chromeAutofill": (
"Browser",
('**/home/*/.config/google-chrome/default/Web Data*'),
('**/home/*/.config/google-chrome/default/Web Data*', '**/home/*/.config/google-chrome/Profile*/Web Data*'),
get_chromeAutofill)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/chromiumBookmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ def get_chromeBookmarks(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"chrome_bookmarks": (
"Browser",
('**/home/*/.config/google-chrome/default/Bookmarks*'),
('**/home/*/.config/google-chrome/default/Bookmarks*', '**/home/*/.config/google-chrome/Profile*/Bookmarks*'),
get_chromeBookmarks)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/chromiumCookies.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,6 @@ def get_chromeCookies(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"chromeCookies": (
"Browser",
('**/home/*/.config/google-chrome/default/Cookies*'),
('**/home/*/.config/google-chrome/default/Cookies*', '**/home/*/.config/google-chrome/Profile*/Cookies*'),
get_chromeCookies)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/chromiumDownloads.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@ def get_chromeDownloads(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"chromeDownloads": (
"Browser",
('**/home/*/.config/google-chrome/default/History*'),
('**/home/*/.config/google-chrome/default/History*', '**/home/*/.config/google-chrome/Profile*/History*'),
get_chromeDownloads)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/chromiumLoginData.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,6 @@ def get_chromeLoginData(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"chromeLoginData": (
"Browser",
('**/home/*/.config/google-chrome/default/Login Data*'),
('**/home/*/.config/google-chrome/default/Login Data*', '**/home/*/.config/google-chrome/Profile*/Login Data*'),
get_chromeLoginData)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/chromiumMediaHistory.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,6 @@ def get_chromeMediaHistory(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"chromeMediaHistory": (
"Browser",
('**/home/*/.config/google-chrome/default/Media History*'),
('**/home/*/.config/google-chrome/default/Media History*', '**/home/*/.config/google-chrome/Profile*/Media History*'),
get_chromeMediaHistory)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/chromiumNetworkActionPredictor.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ def get_chromeNetworkActionPredictor(files_found, report_folder, seeker, wrap_te
__artifacts__ = {
"chromeNetworkActionPredictor": (
"Browser",
('**/home/*/.config/google-chrome/default/Network Action Predictor*'),
('**/home/*/.config/google-chrome/default/Network Action Predictor*', '**/home/*/.config/google-chrome/Profile*/Network Action Predictor*'),
get_chromeNetworkActionPredictor)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/chromiumOfflinePages.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ def get_chromeOfflinePages(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"chromeOffinePages": (
"Browser",
('**/home/*/.config/google-chrome/default/Offline Pages/metadata/OfflinePages.db*'),
('**/home/*/.config/google-chrome/default/Offline Pages/metadata/OfflinePages.db*', '**/home/*/.config/google-chrome/default/Offline Pages/Profile*/OfflinePages.db*'),
get_chromeOfflinePages)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/chromiumOmnibox.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ def get_chromeOmnibox(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"chromeOmnibox": (
"Browser",
('**/.config/google-chrome/Default/Shortcuts*'),
('**/.config/google-chrome/Default/Shortcuts*', '**/.config/google-chrome/Profile*/Shortcuts*'),
get_chromeOmnibox)
}
4 changes: 2 additions & 2 deletions scripts/artifacts/chromiumSearchTerms.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ def get_chromeSearchTerms(files_found, report_folder, seeker, wrap_text):
db.close()

__artifacts__ = {
"chromeSearchTerems": (
"chromeSearchTerms": (
"Browser",
('**/home/*/.config/google-chrome/default/History*'),
('**/home/*/.config/google-chrome/default/History*', '**/home/*/.config/google-chrome/Profile*/History*'),
get_chromeSearchTerms)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/chromiumSync.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ def get_chromeSync(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"chromeSync": (
"Browser",
('**/home/*/.config/google-chrome/default/chromesync.data_store*'),
('**/home/*/.config/google-chrome/default/chromesync.data_store*', '**/home/*/.config/google-chrome/Profile*/chromesync.data_store*'),
get_chromeSync)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/chromiumTopSites.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ def get_chromeTopSites(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"chromeTopSites": (
"Browser",
('**/home/*/.config/google-chrome/default/Top Sites*'),
('**/home/*/.config/google-chrome/default/Top Sites*', '**/home/*/.config/google-chrome/Profile*/Top Sites*'),
get_chromeTopSites)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/chromiumWebsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,6 @@ def get_chromeWebsearch(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"chromeWebsearch": (
"Browser",
('**/home/*/.config/google-chrome/default/History*'),
('**/home/*/.config/google-chrome/default/History*', '**/home/*/.config/google-chrome/Profile*/History*'),
get_chromeWebsearch)
}
2 changes: 1 addition & 1 deletion scripts/version_info.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
lleapp_version = '1.0.0'
lleapp_version = '1.1.0'

# Contributors List
# Format = [ Name, Blog-url, Twitter-handle, Github-url]
Expand Down

0 comments on commit d5bfd74

Please sign in to comment.