I'm not sure if it's by design but House doesn't support remote device (via TCP) yet.
My case was that I had to connect to a phone with Frida server listening on an internal IP address. It may sound weird but the phone was shared for testing and it's not USB connected to my laptop, so I had to modify some codes for a quick workaround:
-
To register the remote device in device manager: house_global.device_manager.add_remote_device('[Phone_IP]')
(I just hardcoded the IP). I added this in houseSock.py.
-
To get the device: replace house_global.device = frida.get_usb_device() with house_global.device = house_global.device_manager.enumerate_devices()[-1] (Yes hardcoding again).
There's definitely a better way to implement this. I just wonder if there's any future plan on supporting the remote devices?
I'm not sure if it's by design but House doesn't support remote device (via TCP) yet.
My case was that I had to connect to a phone with Frida server listening on an internal IP address. It may sound weird but the phone was shared for testing and it's not USB connected to my laptop, so I had to modify some codes for a quick workaround:
To register the remote device in device manager:
house_global.device_manager.add_remote_device('[Phone_IP]')(I just hardcoded the IP). I added this in
houseSock.py.To get the device: replace
house_global.device = frida.get_usb_device()withhouse_global.device = house_global.device_manager.enumerate_devices()[-1](Yes hardcoding again).There's definitely a better way to implement this. I just wonder if there's any future plan on supporting the remote devices?