1. 添加Android敏感权限

2.临时去除对IPA文件的AK检测(效率太低)
v1.0.09
kelvinBen 3 years ago
parent 96f98819e5
commit baf0e05b5d
  1. 6
      config.py
  2. 4
      libs/core/parses.py

@ -142,7 +142,11 @@ shell_list =[
# 此处配置Android权限信息 # 此处配置Android权限信息
apk_permissions = [ apk_permissions = [
'android.permission.CAMERA', 'android.permission.CAMERA',
'android.permission.READ_CONTACTS' 'android.permission.READ_CONTACTS',
'android.permission.READ_SMS',
'android.permission.READ_PROFILE',
'android.permission.READ_PHONE_STATE',
'android.permission.CONTROL_LOCATION_UPDATES'
] ]
# 此处配置需要扫描的web文件后缀 # 此处配置需要扫描的web文件后缀

@ -54,8 +54,8 @@ class ParsesThreads(threading.Thread):
pattern = re.compile(r'\"(.*?)\"') pattern = re.compile(r'\"(.*?)\"')
results = pattern.findall(file_content) results = pattern.findall(file_content)
# 搜素AK和SK信息 # 搜素AK和SK信息,由于iOS的逻辑处理效率过慢暂时忽略对iOS的AK检测
if not ".js" == file_path[-3:]: if not (".js" == file_path[-3:] and self.types == "iOS"):
for key,values in config.filter_ak_map.items(): for key,values in config.filter_ak_map.items():
if isinstance(values,list): if isinstance(values,list):
for value in values: for value in values:

Loading…
Cancel
Save