Skip to content

Latest commit

 

History

History
40 lines (21 loc) · 903 Bytes

README.md

File metadata and controls

40 lines (21 loc) · 903 Bytes

#pyretrace

A python reimplementation on Proguard's Retrace, with a deobfuscation API for python.

PyPI version

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')