主要功能
Ipa Guard是一款功能强大的ipa混淆工具,不需要ios app源码,直接对ipa文件进行混淆加密。可对IOS ipa 文件的代码,代码库,资源文件等进行混淆保护。 可以根据设置对函数名、变量名、类名等关键代码进行重命名和混淆处理,降低代码的可读性,增加ipa破解反编译难度。可以对图片,资源,配置等进行修改名称,修改md5。只要是ipa都可以,不限制OC,Swift,Flutter,React Native,H5类app。
代码混淆
在代码混淆方面,主要从属性混淆、函数混淆、类名混淆、关键字混淆四个方面来混淆差异化原代码,用户还可以选择混淆程度!
资源翻新
对于项目中的图片资源文件,软件不但可以修改其HASH值,并自动更新资源文件的命名,也可以给资源文件添加混淆前缀!
垃圾代码
针对源码比较少逻辑比较简单的项目,软件可以为已有类添加垃圾代码并自动引用,还能创建垃圾类并自动实例化调用!
加密字符串
对项目中的明文字符串进行加密保护,防止通过IDA等工具获取关键词定位核心业务代码!
删除注释
软件可以自动一键删除项目中的所有类型的注释代码,防止代码逻辑泄露!
混淆项目框架
软件通过一键修改项目名、混淆项目目录、翻新UUID来差异化项目框架!
敏感词过滤
针对源码中可能引用的敏感词导致的卡审或者被拒,软件可以查找敏感词并自动替换!
界面魔改
如果已经上架的源码不想修改UI直接上架,可以通过界面颜色魔改来差异化UI视图!
代码
# -*- coding: utf-8 -*- # @Author: zfjsyqk # @Date: 2022-07-03 00:37:53 # @Last Modified by: zfjsyqk # @Last Modified time: 2023-01-11 22:04:38 # ---------- FLutter混淆的主入口 ---------- import os import subprocess from ObsSecurity import * from ObsFlutterReview import * from ObsFlutterVariable import * from ObsFlutterClassName import * from ObsFlutterMethod import * from ObsFlutterResourceName import * from ObsFlutterDeleteNotes import * from ObsFlutterResourceHash import * from ObsFlutterUUID import * from ObsFlutterLog import * # 单利 _personinfo = ZFJPersoninfo() # 开始混淆了 def flutter_obscure_main(project_path, obscure_list): if is_can_obscure() == False: return init_flutter_obscure_data() _personinfo.flutterProjectPath = project_path prefix_word = '' start_review_project(project_path) if 'KObsFlutterVariableKey' in obscure_list: start_obscure_variable_constant_with_project(project_path, prefix_word) else: pass if 'KObsFlutterClassNameKey' in obscure_list: start_obscure_class_with_project_path(project_path, prefix_word) else: pass if 'KObsFlutterMethodNameKey' in obscure_list: start_obscure_method_with_project_path(project_path, prefix_word) else: pass if 'KObsFlutterResourceHashKey' in obscure_list: start_update_recource_hash(project_path) else: pass if 'KObsFlutterResourceNameKey' in obscure_list: start_obscure_resource_name_with_project_path(project_path, prefix_word) else: pass if 'KObsFlutterDeleteNotesKey' in obscure_list: start_delete_all_notes(project_path) else: pass if 'KObsFlutterUUIDKey' in obscure_list: start_update_flutter_uuid(project_path) else: pass end_flutter_obscure(project_path) def end_flutter_obscure(project_path): global _personinfo _personinfo.flutterProjectPath = None export_flutter_map_list(project_path) _personinfo.root_path = None obs_flutter_title('Flutter obfuscation has ended.') if _personinfo != None and _personinfo.flutterRootView != None: _personinfo.flutterRootView.endFlutterObscure() else: pass def flutter_root_view_maplist(map_list_str): global _personinfo if _personinfo == None: return if _personinfo.flutterRootView == None: return _personinfo.flutterRootView.addMapListEdit(map_list_str)
如果喜欢 的话就给个小星星吧⭐️⭐️⭐️