Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lib_base
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sikang
lib_base
Commits
6c1d8d17
Commit
6c1d8d17
authored
Oct 26, 2019
by
sikang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
72450ef5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletions
+15
-1
python/help.py
+15
-1
No files found.
python/help.py
View file @
6c1d8d17
...
...
@@ -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
"
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment