chaitin / passionfruit

[WIP] Crappy iOS app analyzer
MIT License
1.66k stars 228 forks source link

Cannot select phone in Passionfruit #49

Closed sushi2k closed 5 years ago

sushi2k commented 5 years ago

Hi,

I have a rooted iPhone with iOS 10.3.3, Frida server is running (frida-server-12.5.8-ios-arm64) and I can access Frida via USB:

$ frida-ps -U | grep -i cydia
455  Cydia

I can also see it in Passionfruit, but when I select the iPhone nothing happens (also in an incognito windows, so cannot be a caching issue in the browser). Any ideas?

image

ChiChou commented 5 years ago

Did you see anything from the js console?

sushi2k commented 5 years ago

This is the output from passionfruit:

$ passionfruit
listening on http://localhost:31337
  <-- GET /
  --> GET / 200 4ms 208b
  <-- GET /static/build.js
  --> GET /static/build.js 200 4ms 830.73kb
  <-- GET /static/0.build.js
  --> GET /static/0.build.js 200 0ms 52.79kb
  <-- GET /static/logo.svg?abda96cf81a18b28052a52d16b35d4e1
  --> GET /static/logo.svg?abda96cf81a18b28052a52d16b35d4e1 200 1ms 16.33kb
  <-- GET /static/MaterialIcons-Regular.woff2?570eb83859dc23dd0eec423a49e147fe
  --> GET /static/MaterialIcons-Regular.woff2?570eb83859dc23dd0eec423a49e147fe 200 1ms 43.26kb
  <-- GET /favicon.ico
  --> GET /favicon.ico 200 1ms 208b
  <-- GET /favicon.ico
  --> GET /favicon.ico 200 1ms 208b
  <-- GET /apps/c82b85441713bbd565e058d175c5a86634b1f59c
  --> GET /apps/c82b85441713bbd565e058d175c5a86634b1f59c 200 1ms 208b
  <-- GET /static/build.js
  --> GET /static/build.js 200 5ms 830.73kb
  <-- GET /static/0.build.js
  --> GET /static/0.build.js 200 1ms 52.79kb
  <-- GET /static/logo.svg?abda96cf81a18b28052a52d16b35d4e1
  --> GET /static/logo.svg?abda96cf81a18b28052a52d16b35d4e1 200 1ms 16.33kb
  <-- GET /static/MaterialIcons-Regular.woff2?570eb83859dc23dd0eec423a49e147fe
  --> GET /static/MaterialIcons-Regular.woff2?570eb83859dc23dd0eec423a49e147fe 200 0ms 43.26kb
  <-- GET /favicon.ico
  --> GET /favicon.ico 200 1ms 208b
  <-- GET /apps/c82b85441713bbd565e058d175c5a86634b1f59c
  --> GET /apps/c82b85441713bbd565e058d175c5a86634b1f59c 200 1ms 208b
  <-- GET /static/build.js
  --> GET /static/build.js 200 4ms 830.73kb
  <-- GET /static/0.build.js
  --> GET /static/0.build.js 200 1ms 52.79kb
  <-- GET /static/logo.svg?abda96cf81a18b28052a52d16b35d4e1
  --> GET /static/logo.svg?abda96cf81a18b28052a52d16b35d4e1 200 1ms 16.33kb
  <-- GET /static/MaterialIcons-Regular.woff2?570eb83859dc23dd0eec423a49e147fe
  --> GET /static/MaterialIcons-Regular.woff2?570eb83859dc23dd0eec423a49e147fe 200 2ms 43.26kb
  <-- GET /favicon.ico
  --> GET /favicon.ico 200 0ms 208b
sushi2k commented 5 years ago

Browser Console

image

sushi2k commented 5 years ago

Still facing the same issue, nothing is happening after I click on "iPhone" in the browser. I tested in Chrome and Safari. I upgraded now to Frida 12.6.2 on my mac and on the iPhone.

With objection I can connect without problems: image

Also frida-ps is working.

$ frida-ps -U | grep -i igoat
1469  iGoat-Swift

Any idea what might be wrong?

sushi2k commented 5 years ago

I could finally fix it. When adding the Frida repo to Cydia and installing and using Frida like this, instead of copying the frida binary manually via SSH an executing it on the iOS device it works.

I raised a ticket on Frida now, so can close this. No idea why that is actually making a difference.

ChiChou commented 5 years ago

Sorry, the frida dependency of my project has not been updated for a while. I'll try to upgrade it during the incoming vacation.

ChiChou commented 5 years ago

I've just upgraded frida yesterday.

ChiChou commented 5 years ago

https://github.com/frida/frida/issues/911