dmayer / idb

idb is a tool to simplify some common tasks for iOS pentesting and research
MIT License
942 stars 156 forks source link

fix app selector crash #105

Open ghost opened 6 years ago

mechanico commented 5 years ago

I can confirm that the fixes worked for me, with a jailbroken iOS 10.2 device. I still had some issues with some idb functions, but the application did no longer crash on app selection.

pandasauce commented 5 years ago

Works well on iOS 11.1 with a Mac, doesn't fix the issue on Linux.

Mr007jd commented 5 years ago

same issue with ios 12.1.1 uncover jalibreak: on linux stack trace:

[INFO] 2019-04-25 18:55:13 :: idb :: Locating application binary...

[DEBUG] 2019-04-25 18:55:21 :: idb :: File not found: Net::SFTP::StatusException (2, "no such file") [DEBUG] 2019-04-25 18:55:21 :: idb :: File not found: Net::SFTP::StatusException (2, "no such file") [DEBUG] 2019-04-25 18:55:21 :: idb :: Executing blocking SSH command: /usr/bin/ldid -e '/private/var/containers/Bundle/Application/32695BFF-A624-404C-9FED-5F888EFC1910//Dream11.app/Dream11'

[DEBUG] 2019-04-25 18:55:21 :: idb :: Executing blocking SSH command: /usr/bin/ldid -e '/private/var/containers/Bundle/Application/32695BFF-A624-404C-9FED-5F888EFC1910//Dream11.app/Dream11'

[DEBUG] 2019-04-25 18:55:21 :: idb :: Executing blocking SSH command: /usr/bin/ldid -e '/private/var/containers/Bundle/Application/32695BFF-A624-404C-9FED-5F888EFC1910//Dream11.app/Dream11'

Traceback (most recent call last): 24: from /usr/local/bin/idb:23:in <main>' 23: from /usr/local/bin/idb:23:inload' 22: from /var/lib/gems/2.5.0/gems/idb-2.10.3/bin/idb:4:in <top (required)>' 21: from /var/lib/gems/2.5.0/gems/idb-2.10.3/lib/idb.rb:278:inrun' 20: from /var/lib/gems/2.5.0/gems/qtbindings-4.8.6.5/lib/Qt/qtruby4.rb:479:in exec' 19: from /var/lib/gems/2.5.0/gems/qtbindings-4.8.6.5/lib/Qt/qtruby4.rb:479:inmethod_missing' 18: from /var/lib/gems/2.5.0/gems/qtbindings-4.8.6.5/lib/Qt/qtruby4.rb:479:in qt_metacall' 17: from /var/lib/gems/2.5.0/gems/qtbindings-4.8.6.5/lib/Qt/qtruby4.rb:2470:ininvoke' 16: from /var/lib/gems/2.5.0/gems/idb-2.10.3/lib/gui/global_app_details_group_box.rb:63:in block in initialize' 15: from /var/lib/gems/2.5.0/gems/qtbindings-4.8.6.5/lib/Qt/qtruby4.rb:917:inexec' 14: from /var/lib/gems/2.5.0/gems/qtbindings-4.8.6.5/lib/Qt/qtruby4.rb:917:in method_missing' 13: from /var/lib/gems/2.5.0/gems/qtbindings-4.8.6.5/lib/Qt/qtruby4.rb:917:inqt_metacall' 12: from /var/lib/gems/2.5.0/gems/qtbindings-4.8.6.5/lib/Qt/qtruby4.rb:2470:in invoke' 11: from /var/lib/gems/2.5.0/gems/idb-2.10.3/lib/gui/app_list_dialog.rb:24:inblock in initialize' 10: from /var/lib/gems/2.5.0/gems/idb-2.10.3/lib/gui/app_list_dialog.rb:24:in method_missing' 9: from /var/lib/gems/2.5.0/gems/idb-2.10.3/lib/gui/app_list_dialog.rb:24:inqt_metacall' 8: from /var/lib/gems/2.5.0/gems/qtbindings-4.8.6.5/lib/Qt/qtruby4.rb:2470:in invoke' 7: from /var/lib/gems/2.5.0/gems/idb-2.10.3/lib/gui/global_app_details_group_box.rb:61:inblock (2 levels) in initialize' 6: from /var/lib/gems/2.5.0/gems/idb-2.10.3/lib/gui/global_app_details_group_box.rb:61:in app_changed' 5: from /var/lib/gems/2.5.0/gems/idb-2.10.3/lib/gui/global_app_details_group_box.rb:61:inqt_metacall' 4: from /var/lib/gems/2.5.0/gems/qtbindings-4.8.6.5/lib/Qt/qtruby4.rb:2470:in invoke' 3: from /var/lib/gems/2.5.0/gems/idb-2.10.3/lib/idb.rb:122:inblock in init_ui' 2: from /var/lib/gems/2.5.0/gems/idb-2.10.3/lib/gui/main_tab_widget.rb:163:in app_changed' 1: from /var/lib/gems/2.5.0/gems/idb-2.10.3/lib/gui/app_tab_widget.rb:48:inapp_changed' /var/lib/gems/2.5.0/gems/idb-2.10.3/lib/gui/app_details_group_box.rb:69:in app_changed': undefined methodsub' for {"$class"=>nil, "snapshots"=>nil, "identifier"=>nil}:Hash (NoMethodError) Did you mean? sum recv failed: Resource temporarily unavailable