Merge pull request #917 from jedi22/firefox_plugins

Adding the ability to get addons in Ubuntu
This commit is contained in:
Mitchell Grenier 2015-04-02 10:45:08 -07:00
commit 1a7dce6453
3 changed files with 7 additions and 2 deletions

View File

@ -7,7 +7,6 @@ if(APPLE)
ADD_OSQUERY_LIBRARY(FALSE osquery_tables_darwin
applications/darwin/browser_chrome.cpp
applications/darwin/browser_firefox.cpp
applications/darwin/browser_safari.cpp
events/darwin/passwd_changes.cpp
events/darwin/file_changes.cpp
@ -109,6 +108,7 @@ else()
endif()
ADD_OSQUERY_LIBRARY(FALSE osquery_tables
applications/x/browser_firefox.cpp
networking/etc_hosts.cpp
networking/etc_services.cpp
networking/interfaces.cpp

View File

@ -21,7 +21,12 @@ namespace osquery {
namespace tables {
/// Each home directory will include custom extensions.
#define kFirefoxPath "/Library/Application Support/Firefox/Profiles/"
#ifdef __APPLE__
#define kFirefoxPath "/Library/Application Support/Firefox/Profiles/"
#else
#define kFirefoxPath "/.mozilla/firefox/"
#endif
#define kFirefoxExtensionsFile "/extensions.json"
/// Not parsed, but may be helpful later.