Skip to content

Commit

Permalink
refactor: move datasets to submodule + extend build action (#34)
Browse files Browse the repository at this point in the history
* refactor: move datasets to submodule + extend build action

* refactor: enable checkout of submodules

* refactor: enable submodules + lfs

* refactor: adjust path for submodules

* refactor: adjust path for submodules

* refactor: adjust path for submodules

* refactor: update submodules
  • Loading branch information
KarelZe authored Jan 7, 2024
1 parent eba39b4 commit 9dead97
Show file tree
Hide file tree
Showing 20 changed files with 10 additions and 117 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Python
uses: actions/setup-python@v5
with:
Expand All @@ -17,6 +19,8 @@ jobs:
- name: Build binary 🔢
run: pyinstaller "main.spec"
- name: Run conversion ↩️
run: .\dist\ms_teams_parser.exe -f ".\testdata\John Doe\IndexedDB\https_teams.microsoft.com_0.indexeddb.leveldb" -o "current_output.json"
run: |
.\dist\ms_teams_parser.exe -f ".\forensicsim-data\jane_doe_old_teams\IndexedDB\https_teams.microsoft.com_0.indexeddb.leveldb" -o "jane_doe.json"
.\dist\ms_teams_parser.exe -f ".\forensicsim-data\john_doe_old_teams\IndexedDB\https_teams.microsoft.com_0.indexeddb.leveldb" -o "john_doe.json"
# - name: Calculate diff 👽
# run: git diff --no-index --word-diff expected_output/john_doe.json current_output.json
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
[submodule "utils\\ccl_chrome_indexeddb"]
path = utils\\ccl_chrome_indexeddb
url = https://github.com/cclgroupltd/ccl_chrome_indexeddb/
[submodule "forensicsim-data"]
path = forensicsim-data
url = https://github.com/KarelZe/forensicsim-data.git
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ either be processed by the Autopsy Plugin or in another application.
The main parser script can be used like this:

```bash
.\dist\ms_teams_parser.exe -f ".\testdata\John Doe\IndexedDB\https_teams.microsoft.com_0.indexeddb.leveldb" -o "C:\Temp\John Doe.json"
.\dist\ms_teams_parser.exe -f ".\forensicsim-data\john_doe_old_teams\IndexedDB\https_teams.microsoft.com_0.indexeddb.leveldb" -o "john_doe.json"
```

Feel free to use the LevelDB files provided in this repository.
Expand Down
1 change: 1 addition & 0 deletions forensicsim-data
Submodule forensicsim-data added at 68a144
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Empty file.

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Empty file.

This file was deleted.

This file was deleted.

Binary file not shown.

0 comments on commit 9dead97

Please sign in to comment.