Skip to content

mvpboss1004/unpyarmor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unpyarmor

Proof of concept PyArmor deobfuscator programs

Usage

  • Extract the encrypted code from the obfuscated file (it should be inside a bytes string as the third argument to __pyarmor__). Write this as raw data to a file, say 'enc.bin'.
  • Run unpyarmor unpack enc.bin pytransform.key out.pyc, where out.pyc is a pyc file where the decrypted code will be written.
  • Use a python decompiler to decompile the decrypted pyc file, e.g. decompyle3 out.pyc or uncompyle6 out.pyc.

Missing

  • Python versions other than 3
  • Advanced mode
  • Super mode
  • Possibly some other modes

Note

This code is provided as-is and for educational purposes only, without support. If it doesn't work on your specific program, then you can debug it yourself.

About

PyArmor deobfuscator tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%