Skip to main content

REshare reverse-engineering exchange format Python package

Project description

REshare Python

This is the Python wrapper for the REshare reverse-engineering exchange format.

Installation

The package is available on PyPI:

pip install reshare==0.1.1

Usage

from reshare import *
from reshare.helpers import *

resh_export = ResharePy("my_project") # Convenience wrapper

# ... add RE knownledge to the export object ...

with open("reshare.json", "w") as out:
    out.write(json.dumps(resh_export.to_json_data(), indent=2))

# Time flies...

with open("reshare.json","r") as inp:
    data = json.load(inp)
    resh_import = Reshare.from_json_data(data)
    # ... parse RE data for your tool ...

Helpers

While Python is a common denominator among reversing tools, the generated REshare classes aren't comfortable to work with:

  • Reasonable defaults are not available
  • Variant metadata is exposed

Wrapper classes with ...Py suffix are provided that:

  • Implement constructors with reasonable default values
  • Hide variant internals
  • Handle dynamically typed attribute assignment (in case of ReshTypeSpec for now)

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

reshare-0.1.3.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

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

reshare-0.1.3-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: reshare-0.1.3.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for reshare-0.1.3.tar.gz
Algorithm Hash digest
SHA256 b5cadaf3173558ae2fa570291ac5149fef390e35a760ca6b2a3790ec3afdb2d6
MD5 8b4b249ebaa2855a2ad81a827493c6dc
BLAKE2b-256 e45f08af19d893a12f33256b59d1fef32470adfe6e69e3d4244bb60409add0e9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: reshare-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for reshare-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a91cd2a4ca09b79cc9f69bd82a592add50875fb279cac456c25761f5dd1f7956
MD5 fdb3ecb628ec7467619bb77163300190
BLAKE2b-256 9f6161308b6612fc763fa8ac5b27702096a9083d6b276d18cbbec377a4484adf

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