An open API service indexing awesome lists of open source software.

https://github.com/sebdraven/petojson

Serialize PE to Json based on PE-Parse
https://github.com/sebdraven/petojson

json malware pe-parse serialisaton

Last synced: over 1 year ago
JSON representation

Serialize PE to Json based on PE-Parse

Awesome Lists containing this project

README

          

PEtoJSON
==========

the goal of this project based on pe-parse, it's to serialize pe to json with metadata informations

Installation
=============

* Install python 3.5

* Install pe-parse https://github.com/sebdraven/pe-parse

* ` pip install -r requirements.txt `

* `python3.5 setup.py install`

Usage
=======

petojson.py

or

from peanalysis.parse import PEParser
p =
pe = PEParser(p)
pe.load()
pe.dump_sections()
pe.dump_imports()
pe.dump_exports()
pe.dump_resources()
pe.dump_tls()
json.dumps(pe.dict_pe)

Todo
=======

Support:

* PE 64bits format
* PEHash
* Assembly and Graph flow

Thanks
=======

Thanks to E.Carrera for the work on PEfile !