All Projects → mmcloughlin → reprotobuf

mmcloughlin / reprotobuf

Licence: MIT License
Reverse engineer protobuf from javanano

Programming Languages

python
139335 projects - #7 most used programming language
Protocol Buffer
295 projects

reprotobuf

Reverse engineer protobuf files from generated javanano code for android.

This is scrappy development code which has only been tested against the Google Play APK (for the finsky project). As such it is still rough around the edges and may not work for other cases.

Installation

Either globally or inside a virtualenv:

pip install -r requirements.txt

Usage

The main script works on the classes.dex file you'll find after you unzip your APK. It writes to the directory ./output, so please make sure that exists.

python reprotobuf.py path/to/classes.dex

Acknowledgments

Based on the method for micro protobuf implemented in androproto.py, and adapted for the nano case by androguard-protobuf-nano-extractor. This project also makes heavy use of the androguard library.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].