Skip to main content

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-serializable Python-native data 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.3.1

  • Fix empty PyPI package. Oops.

v0.1.3

Misc:

  • Switch to setuptools & setup.cfg
  • Use a module-level logger instead of a root-level one
  • Ensure all 'make check' tests pass.

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

v0.1.1 (2019-12-21)

  • add streamable b64 support
  • add parseloop to the public API
  • refactored module naming structure

v0.1.0 (2019-05-16)

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

netfleece-0.1.3.1.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

netfleece-0.1.3.1-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file netfleece-0.1.3.1.tar.gz.

File metadata

  • Download URL: netfleece-0.1.3.1.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.1

File hashes

Hashes for netfleece-0.1.3.1.tar.gz
Algorithm Hash digest
SHA256 7f65f56c3ea54a766fdafe9aa9bb2bcc40bb1adcf64a006fea89bb34cb729a1b
MD5 665ac874ba3f546ba7c1610646be424b
BLAKE2b-256 7b0b3b5ae3cf93b261dd2637fc838ea0c7310daa6b7988d48257889fe0806197

See more details on using hashes here.

File details

Details for the file netfleece-0.1.3.1-py3-none-any.whl.

File metadata

  • Download URL: netfleece-0.1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.1

File hashes

Hashes for netfleece-0.1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8c6e31d85166b433a8c782decff333f14976ce739fe04117a81ce6cd2973bfea
MD5 e53b967dd3c681bdc636dab8c49369d4
BLAKE2b-256 baeda88902a6ab5ee813fcbc37d992aed5992cd2cfafff71b8c18adf99eb8e31

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page