-
Notifications
You must be signed in to change notification settings - Fork 48
/
config.py
36 lines (27 loc) · 1.05 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# coding: utf-8
__author__ = 'deff'
import os
class Config:
RESULT_PATH = os.path.join(os.path.dirname(os.path.realpath(__file__)), "result")
TEMP_PATH = os.path.join(os.path.dirname(os.path.realpath(__file__)), "temp") # 工作目录
TOOL_PATH = os.path.join(os.path.dirname(os.path.realpath(__file__)), "tools")
SCRIPT_PATH = os.path.join(os.path.dirname(os.path.realpath(__file__)), "script")
POLICY_PERMISSION_PATH = os.path.join(SCRIPT_PATH, "policy_permission.json")
POLICY_API_PATH = os.path.join(SCRIPT_PATH, "policy_api.json")
EXPLOIT_API_PATH = os.path.join(SCRIPT_PATH, "exploit_api.json")
def __init__(self):
self.sdk_path = ""
self.result_path = ""
self.temp_path = ""
self.unzip_path = ""
self.decompile_path = ""
self.java_path = ""
self.smali_path = ""
self.jar_path = ""
self.so_path = ""
self.xml_path = ""
self.res_path = ""
self.assets_path = ""
self.libs_path = ""
self.jni_path = ""
config = Config()