https://github.com/everythingme/pyretrace
A python reimplementation on Proguard's Retrace
https://github.com/everythingme/pyretrace
Last synced: about 1 year ago
JSON representation
A python reimplementation on Proguard's Retrace
- Host: GitHub
- URL: https://github.com/everythingme/pyretrace
- Owner: EverythingMe
- License: other
- Created: 2014-12-10T12:15:33.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2019-08-13T18:44:26.000Z (almost 7 years ago)
- Last Synced: 2025-04-18T06:51:07.894Z (about 1 year ago)
- Language: Python
- Size: 19.5 KB
- Stars: 20
- Watchers: 8
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#pyretrace
A python reimplementation on [Proguard][1]'s [Retrace][2], with a deobfuscation API for python.
[](https://badge.fury.io/py/pyretrace)
### Installation
$ pip install pyretrace
from source:
$ pip install https://github.com/EverythingMe/pyretrace.git
or if you're having permission issues:
$ git clone https://github.com/EverythingMe/pyretrace.git
cd pyretrace
sudo pip install .
### Usage
There are two ways of using pyretrace:
1. As a command line tool:
$ pyretrace -m path/to/mapping_file.txt -s path/to/stacktrace.txt
2. As an API module:
import pyretrace
retrace = Retrace(mapping_file_path, verbose, regex)
deobfuscated_string = retrace.deobfuscate('my obfuscated string')
[1]: http://proguard.sourceforge.net/
[2]: http://proguard.sourceforge.net/index.html#manual/retrace/introduction.html