From d4adb8d58e87baff96506e0edccde5c48e95570b Mon Sep 17 00:00:00 2001 From: Markus Bilz Date: Mon, 8 Jan 2024 17:46:43 +0100 Subject: [PATCH] feat: add new datasets for teams v2 --- .github/workflows/build.yaml | 63 +++++++++++++++++++----------------- forensicsim-data | 2 +- 2 files changed, 34 insertions(+), 31 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 0b709ea..91c220b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,35 +1,38 @@ on: - push: + push: jobs: - build: - name: Build exectuable đŸ“Ļ - runs-on: windows-latest - steps: - - uses: actions/checkout@v4 - with: - submodules: recursive - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: "3.9" - - name: Install dependencies - run: | - python -m pip install --upgrade pip - python -m pip install -r requirements.txt pyinstaller - - name: Build binary đŸ”ĸ - run: pyinstaller "main.spec" - - name: Run conversion ↩ī¸ - run: | - .\dist\ms_teams_parser.exe -f ".\forensicsim-data\jane_doe_old_teams\IndexedDB\https_teams.microsoft.com_0.indexeddb.leveldb" -o "jane_doe_old_teams.json" - .\dist\ms_teams_parser.exe -f ".\forensicsim-data\john_doe_old_teams\IndexedDB\https_teams.microsoft.com_0.indexeddb.leveldb" -o "john_doe_old_teams.json" - .\dist\ms_teams_parser.exe -f ".\forensicsim-data\mboufahja_new_teams\IndexedDB\https_teams.microsoft.com_0.indexeddb.leveldb" -o "mboufahja_new_teams.json" - - name: Test calling script 📞 - run: | - python utils/dump_leveldb.py --help - python utils/dump_localstorage.py --help - python utils/dump_sessionstorage.py --help + build: + name: Build exectuable đŸ“Ļ + runs-on: windows-latest + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.9" + - name: Install dependencies + run: | + python -m pip install --upgrade pip + python -m pip install -r requirements.txt pyinstaller + - name: Build binary đŸ”ĸ + run: pyinstaller "main.spec" + - name: Run conversion ↩ī¸ + 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.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.json" + .\dist\ms_teams_parser.exe -f ".\forensicsim-data\karelze_v_23306_3309_2530_1346\IndexedDB\https_teams.microsoft.com_0.indexeddb.leveldb" -o "john_doe.json" + .\dist\ms_teams_parser.exe -f ".\forensicsim-data\mboufahja_v_23231_413_2355_7555\IndexedDB\https_teams.microsoft.com_0.indexeddb.leveldb" -o "john_doe.json" + continue-on-error: true + - name: Test calling script 📞 + run: | + python utils/dump_leveldb.py --help + python utils/dump_localstorage.py --help + python utils/dump_sessionstorage.py --help + continue-on-error: true # python utils/populate_teams.py --help # python utils/populate_teams_2.py --help # python utils/populate_skype.py --help - # - name: Calculate diff đŸ‘Ŋ - # run: git diff --no-index --word-diff expected_output/john_doe.json current_output.json + # - name: Calculate diff đŸ‘Ŋ + # run: git diff --no-index --word-diff expected_output/john_doe.json current_output.json diff --git a/forensicsim-data b/forensicsim-data index 68a144b..36e337f 160000 --- a/forensicsim-data +++ b/forensicsim-data @@ -1 +1 @@ -Subproject commit 68a144b3406fa3a532eee24b9181bb72a8ad691d +Subproject commit 36e337f7f0f05cd358f67b116621cb4ca995184b