更新 main.py

master
wangsiyuan 2023-11-06 17:01:58 +08:00
parent 9ec56ced34
commit b8e653e57d
1 changed files with 4 additions and 4 deletions

View File

@ -29,8 +29,8 @@ 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.clearCache(package_name)
# modules.command.start_frida()
modules.command.clearCache(package_name)
# 连接到USB设备
device = frida.get_usb_device()
print(device)
@ -69,10 +69,10 @@ if __name__ == '__main__':
# 目标进程名
attach_process_name = "Navi"
# 目标包名
package_name = "com.tencent.qqmusic"
package_name = "com.shopee.br"
# 注入的脚本路径
# script_path = "./hook_conversions.js"
# script_path = "./r0capture/script.js"
# script_path = "url_request.js"
script_path = "hook_qqmusic.js"
script_path = "scripts/hookssl.js"
main(package_name,script_path, is_spawn)