更新 test.py
parent
7dd5c0d661
commit
b1b381b7a6
11
test.py
11
test.py
|
|
@ -0,0 +1,11 @@
|
|||
import frida,sys
|
||||
import modules.files_utils
|
||||
|
||||
js_code = modules.files_utils.read_javascript("./hook_conversions.js")
|
||||
device = frida.get_usb_device()
|
||||
pid = device.spawn(["com.naviapp"]) # 以挂起方式创建进程
|
||||
process = device.attach(pid)
|
||||
script = process.create_script(js_code)
|
||||
script.load()
|
||||
device.resume(pid) # 加载完脚本, 恢复进程运行
|
||||
sys.stdin.read()
|
||||
Reference in New Issue