MCPcopy Index your code
hub / github.com/jipegit/OSXAuditor / ParseFirefox

Function ParseFirefox

osxauditor.py:618–628  ·  view source on GitHub ↗

Walk in all users' FireFox profiles and call ParseFirefoxProfile()

()

Source from the content-addressed store, hash-verified

616 DumpSQLiteDb(os.path.join(ROOT_PATH, 'Users', User, 'Library/Application Support/Firefox/Profiles/', Profile, 'webappsstore.sqlite'))
617
618def ParseFirefox():
619 ''' Walk in all users' FireFox profiles and call ParseFirefoxProfile() '''
620
621 PrintAndLog(u'Users\' Firefox profiles', 'SUBSECTION')
622 for User in os.listdir(os.path.join(ROOT_PATH, 'Users')):
623 UserFFProfilePath = os.path.join(ROOT_PATH, 'Users', User, 'Library/Application Support/Firefox/Profiles')
624 if User[0] != '.' and os.path.isdir(UserFFProfilePath):
625 PrintAndLog(User + u'\'s Firefox', 'SUBSECTION')
626 for Profile in os.listdir(UserFFProfilePath):
627 if Profile[0] != '.' and os.path.isdir(os.path.join(UserFFProfilePath, Profile)):
628 ParseFirefoxProfile(User, Profile)
629
630def ParseSafariProfile(User, Path):
631 ''' Parse the different plist and SQLite databases in a Safari profile '''

Callers 1

ParseBrowsersFunction · 0.85

Calls 2

PrintAndLogFunction · 0.85
ParseFirefoxProfileFunction · 0.85

Tested by

no test coverage detected