1 Star 1 Fork 0

meiming / inject_log_to_apk

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

自动像apk注入log工具说明文档

文件夹目录结构

├── add_log_to_apk.sh ├── apktool ├── apktool.jar ├── auto-sign │   ├── README │   ├── signapk.jar │   ├── Sign.bat │   ├── sign.sh │   ├── testkey.pk8 │   ├── testkey.x509.pem │   └── update.zip ├── inject_log.py ├── README.md └── smali    └── com    └── hook    └── tools    └── LogHelper.smali

处理流程

  1. 反编译apk
  2. 注入log
  3. 注入log工具
  4. 打包apk
  5. 签名

使用方法

  1. 拷贝apk文件到工具目录
  2. 在工具根目录打开终端
  3. 输入如下命令(假设apk文件为[appname.apk]):
./add_log_to_apk.sh appname [com.xxx.ui]

说明: 参数1为apk文件名,不包含后缀名【必须】 参数2为包名,默认情况下为所有smali文件【可选】

Comments ( 0 )

Sign in for post a comment

About

向apk文件中函数中注入日志 spread retract
Python
Cancel

Releases

No release

Contributors

All

Activities

load more
can not load any more
Python
1
https://git.oschina.net/meiming/inject_log_to_apk.git
git@git.oschina.net:meiming/inject_log_to_apk.git
meiming
inject_log_to_apk
inject_log_to_apk
master

Search

103611 48b8ff67 1899542 103622 4d02230c 1899542