Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frida fails to work on more than one iOS device via usbfluxd #361

Open
Manouchehri opened this issue Feb 23, 2021 · 0 comments
Open

Frida fails to work on more than one iOS device via usbfluxd #361

Manouchehri opened this issue Feb 23, 2021 · 0 comments

Comments

@Manouchehri
Copy link
Contributor

usbfluxd is a handy little application to make remote iOS devices appear as if they work local. For some reason though, Frida is only able to use the first device. Not sure if this is a usbfluxd or Frida bug.

MacBook-Air:~ dave$ frida-ls-devices
Id                         Type    Name
-------------------------  ------  ------------
local                      local   Local System
00008030-000009CB5CA0304A  usb     iPhone
socket                     remote  Local Socket

This is from the remote server:

dave@mini ~ % sudo /Applications/USBFlux.app/Contents/Resources/usbfluxd -f --no-mdns
...
[18:25:38.456][4] New client on fd 6
[18:25:38.457][1] Client 6 command received in the wrong state
[18:25:38.457][4] Disconnecting client 0x7fd61940ae00 fd 6

idevice_id -l is able to discover both iPhones though!

MacBook-Air:~ dave$ idevice_id -l
00008030-000009CB5CA0304A
209bb8aadfc994bb14e7541c3b429c905136e91c

Setup instructions:

Install https://app.corellium.com/downloads/USBFlux-1.2.0-05b9ac1ff3f2a689b28967f52a5449d4e92e231d.dmg on both the client and server.

# Server:

sudo /Applications/USBFlux.app/Contents/Resources/usbfluxd -f --no-mdns

# Replace with the IP you want to listen on
socat tcp-listen:5000,reuseaddr,fork,bind=x.x.x.x unix-connect:/var/run/usbmuxd

# Client:

sudo /Applications/USBFlux.app/Contents/Resources/usbfluxd -f --no-mdns -r x.x.x.x:5000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant