Python 3.7+ Microsoft .NET Remoting Binary Format (MS-NRBF) to JSON parser
Project description
Hello World!
netfleece is a small Microsoft .NET Remoting Binary Format (MS-NRBF) parser. It is capable of reading in a binary stream and parsing it into a generic, json-like structure.
Why?
Distributed .NET projects sometimes use MS-NRBF streams for serializing and deserializing data. netfleece allows you to investigate that data in a convenient format that's widely supported by a number of tools.
Notable Missing Features:
-
Not every record type is currently supported. If you find examples of files that utilize these records, please let me know and I will amend the tool.
-
Arrays except for single dimensional, non-offset arrays are unimplemented.
Acknowledgement
This is very loosely based on https://github.com/agix/NetBinaryFormatterParser, which is a Python2 project, but also features a formatter that can perform the reverse operation.
Changelog
v0.1.2
New:
- Preliminary support for single-dimension Jagged/Rectangular Arrays
- Expose parse() and iterparse() helpers, joining parseloop().
Bugs:
- Fix 2.1.1.1 Char parsing
- Fix 2.1.1.6 LengthPrefixedString error conditions
- Fix 2.2.2.2 StringValueWithCode asserting erroneously
- Fix 2.4.3.2 ArraySingleObject not registering ObjectId
- Fix 2.4.3.3 ArraySinglePrimitive
- Fix 2.4.3.4 ArraySingleString not registering ObjectId
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for netfleece-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 425c64ec6cf0c2a07f597f1a52a23b9c64df34e21c30b3653ead88e57d987c52 |
|
MD5 | 0bd7a60c3243df63129fdb5ed0a7ffd7 |
|
BLAKE2b-256 | 93b5be150cf82e1b432700e8c5863c7c30c7d2cd59d1eaa27b0265853bfefb7a |