Git Product home page Git Product logo

cocoscreatorjscdecrypt_for_android_reverse's Introduction

cocoscreatorjscdecrypt_for_Android_Reverse

ZH|EN

ZH

背景

本工具只是 fork 了 cocscreatorjscdecrypt, 然后进行了简单的修改。使得在对APK文件进行逆向分析过程中,对其中的 .jsc 进行解密的使用方法变得更加简单便捷。

原工具的 readme 如下:

cocoscreator 官方在编译的时候只给了加密的方法,而生成jsc之后没有进行解密的,这里给出一个开箱即用的方法。

  1. 安装nodejs
  2. npm install xxtea-node npm install pako
  3. 修改 cocoscreator加密时候的KEY,是否压缩UNZIP,jsc所在的目录(会递归所有子目录,jsc文件后缀进行解密)
  4. 执行 node decrypt.js 即可获得

使用

  1. 安装 python3node.js
  2. 下载此项目压缩包并解压。
  3. 在当前项目文件夹下执行命令 npm install xxtea-node npm install pako
  4. 运行命令 python decodejsc.py APK_filepath/xxx.apk

运行完毕,程序会将 xxx.apk 解压到 APK_filepath 然后将其中所有的 yyy.jsc 文件解密并保存到与原密文文件 yyy.jsc 相同目录下,命名为 yyy.jsc.js

License

本工具本身遵守 MIT license,但由于主体功能 fork 自 cocscreatorjscdecrypt ,因此还因遵守 cocscreatorjscdecryptlicense

EN

Background

This tool is just forked from cocscreatorjscdecrypt, and then made a simple modification. It makes it easier to decrypt the .jsc in APK files during Android reverse analysis.

The readme of the original tool is showing below:

cocoscreator 官方在编译的时候只给了加密的方法,而生成jsc之后没有进行解密的,这里给出一个开箱即用的方法。

  1. 安装nodejs
  2. npm install xxtea-node npm install pako
  3. 修改 cocoscreator加密时候的KEY,是否压缩UNZIP,jsc所在的目录(会递归所有子目录,jsc文件后缀进行解密)
  4. 执行 node decrypt.js 即可获得

Useage

  1. Install python3 and node.js.
  2. Download the project zip file and unzip it.
  3. Run the command npm install xxtea-node npm install pako in the current project folder.
  4. Run the command python decodejsc.py APK_filepath/xxx.apk .

After running, the program will decompress xxx.apk to APK_filepath and then decrypt all the yyy.jsc files in APK_filepath and save them to the same directory. Rename the original file with the name yyy.jsc to yyy.jsc.js.

License

The tool itself adheres to the MIT license, but since the main function is forked from cocscreatorjscdecrypt, it also adheres to the license of cocscreatorjscdecrypt.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.