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
ReshTypeSpecfor now)
Metadata
Release files for reshare 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| reshare-0.1.3.tar.gz | 7.1 kB | Without provenance | Details for reshare-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| reshare-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for reshare-0.1.3-py3-none-any.whl |
Total release size: 13.5 kB
Security for reshare 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.