diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 8e208b3..c6bed4c 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -24,11 +24,27 @@ jobs: run: | .\dist\ms_teams_parser.exe -f ".\forensicsim-data\jane_doe_v_1_4_00_11161\IndexedDB\https_teams.microsoft.com_0.indexeddb.leveldb" -o "jane_doe_v_1_4_00_11161.json" .\dist\ms_teams_parser.exe -f ".\forensicsim-data\john_doe_v_1_4_00_11161\IndexedDB\https_teams.microsoft.com_0.indexeddb.leveldb" -o "john_doe_v_1_4_00_11161.json" - .\dist\ms_teams_parser.exe -f ".\forensicsim-data\karelze_v_23306_3309_2530_1346\IndexedDB\https_teams.live.com_0.indexeddb.leveldb" -o "karelze.json" - .\dist\ms_teams_parser.exe -f ".\forensicsim-data\mboufahja_v_23231_413_2355_7555\IndexedDB\https_teams.microsoft.com_0.indexeddb.leveldb" -o "mboufahja.json" + .\dist\ms_teams_parser.exe -f ".\forensicsim-data\karelze_v_23306_3309_2530_1346\IndexedDB\https_teams.live.com_0.indexeddb.leveldb" -o "karelze_v_23306_3309_2530_1346.json" + .\dist\ms_teams_parser.exe -f ".\forensicsim-data\mboufahja_v_23231_413_2355_7555\IndexedDB\https_teams.microsoft.com_0.indexeddb.leveldb" -o "mboufahja_v_23231_413_2355_7555.json" + - name: Upload results📲 + uses: actions/upload-artifact@v4 + with: + name: generated-outputs + path: | + jane_doe_v_1_4_00_11161.json + john_doe_v_1_4_00_11161.json + karelze_v_23306_3309_2530_1346.json + mboufahja_v_23231_413_2355_7555.json + retention-days: 1 - name: Test calling script 🖱️ run: | python tools/main.py --help python tools/dump_leveldb.py --help python tools/dump_localstorage.py --help python tools/dump_sessionstorage.py --help + - name: Calculate diff 👽 + run: | + git diff --no-index --word-diff .\forensicsim-data\expected-result\jane_doe_v_1_4_00_11161.json jane_doe_v_1_4_00_11161.json + git diff --no-index --word-diff .\forensicsim-data\expected-result\john_doe_v_1_4_00_11161.json john_doe_v_1_4_00_11161.json + git diff --no-index --word-diff .\forensicsim-data\expected-result\karelze_v_23306_3309_2530_1346.json karelze_v_23306_3309_2530_1346.json + git diff --no-index --word-diff .\forensicsim-data\expected-result\mboufahja_v_23231_413_2355_7555.json mboufahja_v_23231_413_2355_7555.json \ No newline at end of file diff --git a/test.json b/test.json new file mode 100644 index 0000000..ff4398a --- /dev/null +++ b/test.json @@ -0,0 +1,46 @@ +[ + { + "displayName": "John Doe", + "email": "JohnDoe@forensics.im", + "mri": "8:orgid:54dd27a7-fbb0-4bf0-8208-a4b31a578a3f", + "origin_file": "forensicsim-data/john_doe_v_1_4_00_11161/IndexedDB/https_teams.microsoft.com_0.indexeddb.leveldb", + "record_type": "contact", + "userPrincipalName": "JohnDoe_forensics.im#EXT#@Forensicsim.onmicrosoft.com" + }, + { + "displayName": "Admin Im", + "email": "admin@forensics.im", + "mri": "8:orgid:8dd7b0c8-8cf0-489b-93d7-2da2f7061f39", + "origin_file": "forensicsim-data/john_doe_v_1_4_00_11161/IndexedDB/https_teams.microsoft.com_0.indexeddb.leveldb", + "record_type": "contact", + "userPrincipalName": "admin@Forensicsim.onmicrosoft.com" + }, + { + "displayName": "Jane Doe", + "email": "JaneDoe@forensics.im", + "mri": "8:orgid:e62b7cec-7379-4d6f-aed7-24b48be68a74", + "origin_file": "forensicsim-data/john_doe_v_1_4_00_11161/IndexedDB/https_teams.microsoft.com_0.indexeddb.leveldb", + "record_type": "contact", + "userPrincipalName": "JaneDoe_forensics.im#EXT#@Forensicsim.onmicrosoft.com" + }, + { + "attachments": [], + "cachedDeduplicationKey": "NoneNone", + "clientArrivalTime": null, + "clientmessageid": null, + "composetime": null, + "content": null, + "contenttype": null, + "conversationId": null, + "createdTime": null, + "creator": null, + "isFromMe": null, + "messageKind": null, + "messagetype": null, + "origin_file": "forensicsim-data/john_doe_v_1_4_00_11161/IndexedDB/https_teams.microsoft.com_0.indexeddb.leveldb", + "originalarrivaltime": null, + "properties": {}, + "record_type": "message", + "version": null + } +] \ No newline at end of file