cocos_decrypt icon indicating copy to clipboard operation
cocos_decrypt copied to clipboard

cocos lua decrypt from apk

解析cocos2d 功能里面的luac脚本

用法

usage: cocos2d_luac_decrypt.py [-h] [-f APKFILE] [-o OUTPUT] [-d DIR]
                               [-s SIGN] [-k KEY]

cocos2d luac decrypt tool

optional arguments:
  -h, --help  show this help message and exit
  -f APKFILE  apk file
  -o OUTPUT   output dir
  -d DIR      luac dir
  -s SIGN     xxtea sign
  -k KEY      xxtea key

example:
    cocos2d_luac_decrypt.py -f 1.apk -o output                       # Y auto parse apk
    cocos2d_luac_decrypt.py -f 1.apk -s aaaaaaa -k bbbbbbb           # Y
    cocos2d_luac_decrypt.py -f 1.apk -o output -s aaaaaaa -k bbbbbbb # Y
    cocos2d_luac_decrypt.py -d dir -s aaaaaaa -k bbbbbbb             # Y
(virpy2.7) F:\github\cocos_decrypt>python cocos2d_luac_decrypt.py  -f C:\Users\cuiguangyu\Downloads\bfhzyp10002_1502797416.apk
'sign:qqqipai ,key:13f0adcb25315b25fc790aac2b665431'