Parse the different SQLite databases in a Firefox profile
(User, Profile)
| 596 | PrintAndLog(SQLiteDbPath.decode('utf-8') + u' not found\n', 'ERROR') |
| 597 | |
| 598 | def ParseFirefoxProfile(User, Profile): |
| 599 | ''' Parse the different SQLite databases in a Firefox profile ''' |
| 600 | |
| 601 | PrintAndLog(User + u'\'s Firefox profile (' + Profile.decode('utf-8') + u')', 'SUBSECTION') |
| 602 | |
| 603 | #Most useful See http://kb.mozillazine.org/Profile_folder_-_Firefox |
| 604 | DumpSQLiteDb(os.path.join(ROOT_PATH, 'Users', User, 'Library/Application Support/Firefox/Profiles/', Profile, 'cookies.sqlite')) |
| 605 | DumpSQLiteDb(os.path.join(ROOT_PATH, 'Users', User, 'Library/Application Support/Firefox/Profiles/', Profile, 'downloads.sqlite')) |
| 606 | DumpSQLiteDb(os.path.join(ROOT_PATH, 'Users', User, 'Library/Application Support/Firefox/Profiles/', Profile, 'formhistory.sqlite')) |
| 607 | DumpSQLiteDb(os.path.join(ROOT_PATH, 'Users', User, 'Library/Application Support/Firefox/Profiles/', Profile, 'places.sqlite')) |
| 608 | DumpSQLiteDb(os.path.join(ROOT_PATH, 'Users', User, 'Library/Application Support/Firefox/Profiles/', Profile, 'signons.sqlite')) |
| 609 | |
| 610 | #Secondary |
| 611 | DumpSQLiteDb(os.path.join(ROOT_PATH, 'Users', User, 'Library/Application Support/Firefox/Profiles/', Profile, 'permissions.sqlite')) |
| 612 | DumpSQLiteDb(os.path.join(ROOT_PATH, 'Users', User, 'Library/Application Support/Firefox/Profiles/', Profile, 'addons.sqlite')) |
| 613 | DumpSQLiteDb(os.path.join(ROOT_PATH, 'Users', User, 'Library/Application Support/Firefox/Profiles/', Profile, 'extensions.sqlite')) |
| 614 | DumpSQLiteDb(os.path.join(ROOT_PATH, 'Users', User, 'Library/Application Support/Firefox/Profiles/', Profile, 'content-prefs.sqlite')) |
| 615 | DumpSQLiteDb(os.path.join(ROOT_PATH, 'Users', User, 'Library/Application Support/Firefox/Profiles/', Profile, 'healthreport.sqlite')) |
| 616 | DumpSQLiteDb(os.path.join(ROOT_PATH, 'Users', User, 'Library/Application Support/Firefox/Profiles/', Profile, 'webappsstore.sqlite')) |
| 617 | |
| 618 | def ParseFirefox(): |
| 619 | ''' Walk in all users' FireFox profiles and call ParseFirefoxProfile() ''' |
no test coverage detected