Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stars-one/ASCToolJar
Android Signature Crack Tool Jar 破解APK签名验证的jar包
https://github.com/stars-one/ASCToolJar
Last synced: about 2 months ago
JSON representation
Android Signature Crack Tool Jar 破解APK签名验证的jar包
- Host: GitHub
- URL: https://github.com/stars-one/ASCToolJar
- Owner: stars-one
- Created: 2019-09-17T06:55:14.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-22T04:58:28.000Z (about 5 years ago)
- Last Synced: 2024-08-05T17:31:30.622Z (4 months ago)
- Homepage:
- Size: 9.59 MB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-hacking-lists - stars-one/ASCToolJar - Android Signature Crack Tool Jar 破解APK签名验证的jar包 (Others)
README
# ASCToolJar
破解签名验证的jar包
## 说明
基于[ApkSignatureKiller](https://github.com/L-JINBIN/ApkSignatureKiller),封装了构造方法
## 使用
### 1.Java项目中添加此Jar包依赖
### 2.通过ASCTool类使用
ASCTool有3种构造方法|方法 |说明 |
|-- |-- |
|ASCTool(String srcApk, String outApk) |去除签名验证后,不会自动签名,两个参数都是具体的文件路径 |
|ASCTool(String srcApk, String outApk, String keyFilePath, String password, String alias, String aliasPassword) |去除签名验证后会自动签名,后面是签名文件及密码|
|ASCTool(String srcApk, String outApk, Map map)|Map中key为参数名,value为具体的数值|
|ASCTool(String srcApk, String outApk,InputStream keyFileInputStream,Map map)|传入一个文件输入流|
**ASCTool(String srcApk, String outApk)**
```
String srcApk = "D:\\test.apk";
String outAPk = "D:\\out.apk";
ASCTool asctool = new ASCTool(srcApk,outApk);
asctool.startTask();//开始执行
```**ASCTool(String srcApk, String outApk, String keyFilePath, String password, String alias, String aliasPassword)**
```
String srcApk = "D:\\test.apk";
String outAPk = "D:\\out.apk";
//Android Studio生成的签名文件是jks文件,而eclipse生成的签名文件是keystore,这里两种文件都支持
String keyFilePath = "D:\\test.keystore";
String password = "123456";//密码
String alias = "key0";//别名
String aliasPassword = "123456";//别名密码ASCTool asctool = new ASCTool(srcApk,outApk,keyFilePath,password,alias,aliasPassword);
asctool.startTask();//开始执行
```**ASCTool(String srcApk, String outApk, Map map)**
```
String srcApk = "D:\\test.apk";
String outAPk = "D:\\out.apk";
//Android Studio生成的签名文件是jks文件,而eclipse生成的签名文件是keystore,这里两种文件都支持
String keyFilePath = "D:\\test.keystore";
String password = "123456";//密码
String alias = "key0";//别名
String aliasPassword = "123456";//别名密码
Map map = new HashMap<>();
//存进map中
map.put("keyFilePath",keyFilePath)
map.put("password",password);
map.put("alias",alias);
map.put("aliasPassword",aliasPassword);ASCTool asctool = new ASCTool(srcApk,outApk,map);
asctool.startTask();//开始执行
```**ASCTool(String srcApk, String outApk,InputStream keyFileInputStream,Map map)**
```
String srcApk = "D:\\test.apk";
String outAPk = "D:\\out.apk";FileInputStream stream = new FileInputStream("D:\\test.jks");
String password = "123456";//密码
String alias = "key0";//别名
String aliasPassword = "123456";//别名密码Map map = new HashMap<>();
map.put("password",password);
map.put("alias",alias);
map.put("aliasPassword",aliasPassword);ASCTool asctool = new ASCTool(srcApk,outApk,stream,map);
asctool.startTask();//开始执行
```