Skip to content

Commit 0f59c57

Browse files
committed
Finised Commenting code.
1 parent 8708fcb commit 0f59c57

File tree

2 files changed

+23
-9
lines changed

2 files changed

+23
-9
lines changed

Diff for: ChromeParser.py

+14-1
Original file line numberDiff line numberDiff line change
@@ -772,28 +772,34 @@ def main():
772772
# Display the email account and the time it was added
773773
DisplayData(syncFile.GetUserInfo())
774774
Report("")
775-
# If a full name and a DOB exist
775+
# If a full name and a DOB exist print them
776776
if syncFile.GetFullInfo():
777777
Report("Full Name".center(35, "=")+" "+"DOB (DDYYYY)".center(20, "=")+"\n")
778778
DisplayData(syncFile.GetFullInfo())
779779
Report("")
780780
else:
781+
# Print no full info only if verbosity level is set to see statuses
781782
Report("Full Name".center(35, "=")+" "+"DOB (DDYYYY)".center(20, "=")+"\n", 1)
782783
Report("No full info available", 1)
783784
Report("", 1)
785+
# Print the computers attached to the account
784786
Report("Computer Name".center(35, "=")+" "+"Time added".center(20, "="))
787+
# Print how many with verbosity of 1 (status)
785788
Report("{0} Computer(s) were synced".format(len(syncFile.GetAttachedComputers())).center(35, "_"), 1)
786789
Report("")
787790
DisplayData(syncFile.GetAttachedComputers())
788791
Report("")
792+
# If Recovery email is set, print it
789793
if syncFile.GetRecoveryEmail():
790794
Report("Recovery Email".center(35, "=")+"\n")
791795
DisplayData(syncFile.GetRecoveryEmail())
792796
Report("")
793797
else:
798+
# Print no recovery email, if verbosity level is 1
794799
Report("Recovery Email".center(35, "=")+"\n", 1)
795800
Report("No Recovery email found", 1)
796801
Report("", 1)
802+
# Prints phone number if one was found
797803
if syncFile.GetRecoveryPhone():
798804
Report("Recovery Phone".center(35, "=")+"\n")
799805
DisplayData(syncFile.GetRecoveryPhone())
@@ -802,8 +808,10 @@ def main():
802808
Report("Recovery Phone".center(35, "=")+"\n", 1)
803809
Report("No Recovery phone found", 1)
804810
Report("", 1)
811+
# Prints extensions if any were found
805812
if syncFile.GetExtensions():
806813
Report("Extensions(s)".center(35, "="))
814+
# Prints how many extensions were found with verbosity of status
807815
Report("{0} Extensions were Found".format(len(syncFile.GetExtensions())).center(35, "_"), 1)
808816
Report("")
809817
DisplayData(syncFile.GetExtensions())
@@ -812,6 +820,7 @@ def main():
812820
Report("Extensions(s)".center(35, "=")+"\n", 1)
813821
Report("No Extensions found", 1)
814822
Report("", 1)
823+
# Prints if any sites were found
815824
if syncFile.GetAllSites():
816825
Report("All Sites".center(35, "="))
817826
Report("{0} Sites found".format(len(syncFile.GetAllSites())).center(35, "_"), 1)
@@ -823,10 +832,14 @@ def main():
823832
Report("No sites were found", 1)
824833
Report("", 1)
825834

835+
# If an outfile was set, close it
826836
if outFile:
827837
outFile.close()
838+
# Sets outFile to false for future report functions to work
828839
outFile = False
840+
# Print status about file closing
829841
Report("The out file has been closed.\n", 1)
842+
# Report that the program is finished
830843
Report("The Program has finished. Exiting now\n", 3)
831844

832845

Diff for: README.md

+9-8
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
1-
ChromeSyncParser
2-
================
1+
#ChromeSyncParser
2+
33
This program will help forensic examiners analyze the contents of the SyncData.sqlite3.
44
This database is created when an account is synced with the Google Chrome Browser.
55

66

7-
Warning
8-
---------------
7+
##Warning
98

109
SQLite is not a forensic format. While the intention of this program is not to change or modify any data,
1110
please take the appropriate steps when analyzing evidence.
1211

1312
Most of the evidence will not be found if the personal sync passphrase was enabled over the Google Credentials.
1413

15-
DataLocation
16-
---------------
14+
##DataLocations
1715

1816
SyncData.sqlite3 files can be located at in the following locations:
1917

@@ -29,5 +27,8 @@ Mac OS X:
2927
Linux:
3028
~/.config/google-chrome/Default/databases
3129

32-
Note:
33-
If Chrome browser is open, the sync database may be open and can cause the program to error
30+
###Note
31+
If Chrome browser is open, the sync database may be open and can cause the program to error
32+
33+
Further forensic research is needed to determine what artifacts are stored
34+
and what can be found even with encryption

0 commit comments

Comments
 (0)