sharppickle 1.6.0
dotnet add package sharppickle --version 1.6.0
NuGet\Install-Package sharppickle -Version 1.6.0
<PackageReference Include="sharppickle" Version="1.6.0" />
<PackageVersion Include="sharppickle" Version="1.6.0" />
<PackageReference Include="sharppickle" />
paket add sharppickle --version 1.6.0
#r "nuget: sharppickle, 1.6.0"
#:package sharppickle@1.6.0
#addin nuget:?package=sharppickle&version=1.6.0
#tool nuget:?package=sharppickle&version=1.6.0
sharppickle
Parser for serialized python pickles written in C#/.NET Core
Why?
This repository should be seen as a proof-of-concept.
Do not unpickle data received from an untrusted or unauthenticated source.
The pickle module allows to execute arbitrary code during unpickling
To exchange data use a language-independent serialization format such as JSON or XML.
How to use
// Initialize PickleReader with pickle data.
using(var reader = new PickleReader(new FileInfo("data.pickle")) {
// Deserialize data.
object[] deserialized = reader.Unpickle();
// How to parse the data is up to you!
}
Example
Please visit the rpaextract repository for an example application using sharppickle. Usage can be found in Archive.cs.
License
sharppickle is licensed under the European Union Public Licence v1.2
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.