Commit 6c1d8d17 by sikang

update

parent 72450ef5
......@@ -4,6 +4,7 @@ from tools.garble.api_garble import ApiGarble
from tools.garble.manifest_grable import ManifestGarble
from tools.garble.package_garble import PackageGarble
from tools.garble.string_garble import StringGarble
from tools.garble.img_garble import ImageGarble
from func import Function
import os
......@@ -19,17 +20,27 @@ config.update(properties)
print(" ")
print("------------- 使用帮助 -----------------")
print("0、一条龙混淆")
print("1、activity类名混淆")
print("2、api混淆(针对 Retrofit 注解)")
print("3、manifest混淆 在包路径中随机插入Activity并注册")
print("4、包路径混淆")
print("5、字符串插入/加密")
print("6、插入混淆图片( 体积会增加1-2M )")
print("21、还原代码")
print(" ")
command = int(input("请输入指令编号:"))
if command == 1:
if command == 0:
ActivityGarble().activity_garble(config)
ApiGarble().api_garble(config)
PackageGarble().pkg_garble(config)
ManifestGarble().manifest_garble(config)
StringGarble().str_grable(config)
ImageGarble().img_garble(config)
elif command == 1:
#配置参数 config.json - activities
ActivityGarble().activity_garble(config)
......@@ -48,6 +59,9 @@ elif command == 4:
elif command == 5:
StringGarble().str_grable(config)
elif command == 6:
ImageGarble().img_garble(config)
elif command == 21:
#每行一个shell命令,参考自行修改
command = "%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n" \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment