更新 test.py
parent
9e8761d7a4
commit
29fc054c02
23
test.py
23
test.py
|
|
@ -1,23 +0,0 @@
|
||||||
import frida
|
|
||||||
|
|
||||||
def list_devices():
|
|
||||||
devices = frida.enumerate_devices()
|
|
||||||
for device in devices:
|
|
||||||
print(device)
|
|
||||||
|
|
||||||
list_devices()
|
|
||||||
|
|
||||||
def connect_to_device(device_id):
|
|
||||||
device = frida.get_device(id=device_id, timeout=10)
|
|
||||||
print(device)
|
|
||||||
|
|
||||||
# Connect to the Pixel 3 device
|
|
||||||
connect_to_device("8C1X1H1YG")
|
|
||||||
|
|
||||||
def on_message(message, data):
|
|
||||||
print(message)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue