frida / frida-python

Frida Python bindings
Other
785 stars 147 forks source link

how add host instead usb to my script #226

Closed Mohamed3bdelwahab closed 1 year ago

Mohamed3bdelwahab commented 1 year ago

i make script but it's only work with usb frida.get_usb_device how make it take host and port to work with them instead of usb

oleavr commented 1 year ago
device = frida.get_device_manager().add_remote_device("host:port")

or

device = frida.get_device_manager().add_remote_device("host")

to use the default port of 27042.

oleavr commented 1 year ago

(This is what the frida-tools CLI tools do when you specify -H host:port.)