ShutdownRepo / pywhisker

Python version of the C# tool for "Shadow Credentials" attacks
GNU General Public License v3.0
577 stars 65 forks source link

Handle deseralization errors #19

Open rtpt-romankarwacik opened 1 week ago

rtpt-romankarwacik commented 1 week ago

We had the case where a keycredentiallink could not be deserialized, but needed to be restored after an attack was conducted. This pull request adds checks for if the DeviceId was serialized properly, to list the keycredentialslink regardless in that case. Furthermore, when exporting and importing, deserialization errors are handled by saving the raw keycredentiallink instead.