Skip to content

Remote device support #22

@zehuanncc

Description

@zehuanncc

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:

  1. 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.

  2. 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions