Skip to main content

netfile is a minimalistic .NET executable binary parser

Project description

Hello World!

netfile is a small .NET executable binary parser. It is capable of reading in a .NET executable binary (like a .dll) and parsing the metadata structures in-memory to make programmatic access to this information possible.

Why?

I wanted to automate the extraction of resources from "compiled" .NET assets, and doing it from first principles was a learning exercise.

Notable (Known) Bugs:

  • Signature parsing is very rudimentary and incomplete, so it is not done by default; you can call the stub using Field.parse().

Notable Missing Features:

  • Only the TypeDef, Field, ClassLayout and FieldRVA tables are interpreted into right objects right now. The remaining tables are loaded simply as collections of raw bytes.

Do you intend to support this?

Not really. If you find it useful and fix minor issues, I'll happily take pull requests. If you want to do a major refactor of my hasty first draft, I'd recommend simply forking the project instead.

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

netfile-0.1.3.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

netfile-0.1.3-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file netfile-0.1.3.tar.gz.

File metadata

  • Download URL: netfile-0.1.3.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.5

File hashes

Hashes for netfile-0.1.3.tar.gz
Algorithm Hash digest
SHA256 52c69564feee685c6f372a259c55a3525dc98d23dcec83e080d5865f72a99e28
MD5 d5e87973b0749b0cba0ee21a50fbe7a4
BLAKE2b-256 5a8451bd8fa9020ebdd15ef97112cac131eacde7154b7b9bf85ef8967f5d6c71

See more details on using hashes here.

File details

Details for the file netfile-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: netfile-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.5

File hashes

Hashes for netfile-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 686cfaf6a68ce6bf0a713265dced6a6d62bd8086f83ead3298d74e6a6c4b3c6d
MD5 c885a1d376f68085dd0b1ba7189a08d6
BLAKE2b-256 374c8291dca577c60653fc8e63c358a588db05e86f84a1ce711041bef05d8774

See more details on using hashes here.

Supported by

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