elastic / SWAT

Simple Workspace Attack Tool (SWAT) is a tool for simulating malicious behavior against Google Workspace in reference to the MITRE ATT&CK framework.
Apache License 2.0
161 stars 7 forks source link

[Bug] `CredStore` saving and loading serialization #56

Closed terrancedejesus closed 1 year ago

terrancedejesus commented 1 year ago

Overview

This PR changes the saving and loading of CredStore from JSON to Pickle. There seems to be serialization issues with the original approach for storing and loading the JSON. Therefore, Pickle is used instead to read and write the cred store, which removes these issues and also keeps the code simple.

Screenshot 2023-08-05 at 4 25 34 PM Screenshot 2023-08-05 at 4 26 28 PM Screenshot 2023-08-05 at 4 36 14 PM