Compound ZIP parser plugin for Google Takeout #2296
Conversation
|
Hey @stefanomart - I'm guessing this is still a work in progress. Please request a review from me once the test are passing - thanks! |
Codecov Report
@@ Coverage Diff @@
## master #2296 +/- ##
=========================================
- Coverage 85.88% 84.8% -1.09%
=========================================
Files 455 454 -1
Lines 32071 32745 +674
=========================================
+ Hits 27544 27769 +225
- Misses 4527 4976 +449
Continue to review full report at Codecov.
|
Hi @Onager - I noticed that CodeFactor doesn't check the updated code, but always check the initial code (10 days ago). |
|
OK @stefanomart - pylint is passing in Travis, so I'll take a look. |
|
Hey @stefanomart - there's no tests in this PR, could you please add a test for parser? If you need test data, I noticed there's a public data set here: https://aboutdfir.com/dfir-research/ in the Android nougat image. |
|
Hello again @Onager, I noticed that Travis could not complete due to an error: "Unable to locate package python3-tox". I also did not understand why CodeFactor still checks old code (from 17 Jan). |
|
@stefanomart - checking in on this, it looks like there's still no tests in this PR, just the test data. Are you still working on this? As to the tox issues, these should be resolved now if you rebase or merge to HEAD. There's currently an issue with dfwinreg, but that's being fixed. |
|
Even if I change the code, CodeFactor keeps to analyze the code uploaded on January 17th. |
|
Hey @stefanomart - don't worry too much about codefactor in this case, the extra pylint check will do most of the checks we'll need to work about. |
One line description of pull request
This is a PR about the Compound ZIP parser plugin for Google Takeout dump files.
Description:
This plugin parses the Google Takeout dump.
It parses these services:
I made a slight change to the czip logic: I added a method CheckZipFile to czip_plugins\interface.py (this can be overrided by every czip plugin) to check the plugin: it checks if the zip file contains a file 'index.html' and the existence of the keyword 'Google Takeout' or 'Google Takeaway' in the same file.
Like we discussed here, I added the logic of mailbox into plaso.
I hope that all the code styling rules are respected.
Notes:
Checklist: