frida / frida-tools

Frida CLI tools
Other
338 stars 95 forks source link

show device name and OS in frida-ls-devices #121

Closed tmm1 closed 1 year ago

tmm1 commented 1 year ago

before:

Id                                        Type    Name
----------------------------------------  ------  --------------------------------------------------
local                                     local   Local System
10.0.1.78:5555                            usb     AFTT
emulator-5554                             usb     Android Emulator 5554
10.0.1.57:5555                            usb     SHIELD Android TV
79222ee0b4e8ed62005c05a866cf61a52711e688  usb     iOS Device
socket                                    remote  Local Socket
5b49d55a162d49ab2bab1721a68a06fd14eb9502  remote  iOS Device [fd54:94d7:db6:10:143a:32d8:d828:f62c]
00008101-000A25613650001E                 remote  iOS Device [fd96:b642:292e:47ed:25:44c7:5eae:5970]

after:

Id                                        Type    Name                   OS
----------------------------------------  ------  ---------------------  ----------------
local                                     local   tmm1-m1studio          macOS 12.6
10.0.1.78:5555                            usb     AFTT                   Android 5.1.1
emulator-5554                             usb     Android Emulator 5554  Android 13
10.0.1.57:5555                            usb     SHIELD Android TV      Android 11
79222ee0b4e8ed62005c05a866cf61a52711e688  usb     officehd               Apple TVOS 14.4
socket                                    remote  Local Socket
5b49d55a162d49ab2bab1721a68a06fd14eb9502  remote  office2                Apple TVOS 16.1
00008101-000A25613650001E                 remote  tmm1-iphonexii         iPhone OS 16.0.2

cc https://github.com/frida/frida/pull/2269

tmm1 commented 1 year ago

Thanks for the review! I made the requested changes.

since we actually have to communicate with the remote frida-server/lockdown daemon

It's not clear to me if this is actually happening? Atleast for android I think the information is coming from the local adb daemon. I'm not running frida on my iOS devices right now either, and its able to show their names/OS