更新 main.py

master
wangsiyuan 2023-11-07 14:18:03 +08:00
parent cfefd337b9
commit 8c4cd61081
1 changed files with 3 additions and 6 deletions

View File

@ -29,7 +29,7 @@ def main(package_name,script_path,is_spawn):
print(f"script_path: {script_path}")
js_code = modules.files_utils.read_javascript(script_path)
# print(js_code)
# modules.command.start_frida()
modules.command.start_frida()
modules.command.clearCache(package_name)
# 连接到USB设备
device = frida.get_usb_device()
@ -69,10 +69,7 @@ if __name__ == '__main__':
# 目标进程名
attach_process_name = "Navi"
# 目标包名
package_name = "com.shopee.br"
package_name = "com.kwai.video"
# 注入的脚本路径
# script_path = "./hook_conversions.js"
# script_path = "./r0capture/script.js"
# script_path = "url_request.js"
script_path = "scripts/hookssl.js"
script_path = "scripts/hook_conversions.js"
main(package_name,script_path, is_spawn)