#pyretrace
A python reimplementation on Proguard's Retrace, with a deobfuscation API for python.
$ 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 .
There are two ways of using pyretrace:
-
As a command line tool:
$ pyretrace -m path/to/mapping_file.txt -s path/to/stacktrace.txt
-
As an API module:
import pyretrace retrace = Retrace(mapping_file_path, verbose, regex) deobfuscated_string = retrace.deobfuscate('my obfuscated string')