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
a80c5fba
Commit
a80c5fba
authored
Oct 25, 2019
by
sikang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
83815e1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletions
+18
-1
python/help.py
+18
-1
No files found.
python/help.py
View file @
a80c5fba
...
...
@@ -5,7 +5,7 @@ from tools.garble.manifest_grable import ManifestGarble
from
tools.garble.package_garble
import
PackageGarble
from
tools.garble.string_garble
import
StringGarble
from
func
import
Function
import
os
#读取config.json配置
config_json
=
{}
...
...
@@ -24,6 +24,7 @@ print("2、api混淆(针对 Retrofit 注解)")
print
(
"3、manifest混淆 在包路径中随机插入Activity并注册"
)
print
(
"4、包路径混淆"
)
print
(
"5、字符串插入/加密"
)
print
(
"6、还原代码"
)
print
(
" "
)
command
=
int
(
input
(
"请输入指令编号:"
))
...
...
@@ -47,3 +48,19 @@ elif command == 4:
elif
command
==
5
:
StringGarble
()
.
str_grable
(
config
)
elif
command
==
6
:
#每行一个shell命令,参考自行修改
command
=
"
%
s
\n
%
s
\n
%
s
\n
%
s
\n
%
s
\n
%
s
\n
%
s
\n
%
s
\n
%
s
\n
"
\
%
(
"cd
%
s"
%
config
[
'root'
],
"git checkout . && git clean -df"
,
"git reset --hard origin/
%
s"
%
config
[
'git_branch'
],
"cd lib_base || { echo
\"
lib_base not exist!
\"
; exit 1; }"
,
"git checkout . && git clean -df"
,
"git reset --hard origin/master"
,
"cd ../cash_plugin_toolbox"
,
"git checkout . && git clean -df"
,
"git reset --hard origin/master"
)
os
.
system
(
command
)
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