-
Notifications
You must be signed in to change notification settings - Fork 284
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
IOS 10.1 (I know it's not ready yet, but thought i'd share some output) #112
Comments
Hi @n0x00, that would be amazing! At the moment we don't have any jailbroken device running 10.X 😢 Extending needle's core to support iOS 10 should be pretty straightforward. constants.py
device.py
Let me know if you need help/support! :) |
Hi @n0x00, I actually just updated the |
I can confirm that it is not working on iOS 10.2. I am running it on Kali 2 Rolling. I am able to drop into a shell with the
It seems that this issue stems from the fact that the file Let me know if I can help out debugging this at all. I am very interested in getting this to work on iOS 10, since it is all I have access to. |
Hi @cobbr, are you able to locate the |
Sorry if I didn't make that clear. The Here is a directory listing of the
Maybe one of these files has the info that is needed? |
we currently use that file to get the following info for every installed app:
|
Thanks for that list! Hmm... been poking around on my testing device this morning and unfortunately I haven't been able to find any file that seems to have that kind of information. This may be more complicated to find for iOS 10, unless I'm missing something. I'm new to iOS in general, so it's possible I'm missing something obvious. Any clues to other places you would look for this kind of info? |
for the past 3 versions of iOS, these were the paths:
|
Been doing lots of The only solution that I can think of is manually searching for the information by traversing the Any other ideas apart from manual searching? |
I stumbled across this stackoverflow question that seems relevant. It references an Objective-C framework that can be used to get installed application info:
A possible alternative to manual searching of information could be to create a small client/device-side application that uses Additionally, it may be possible to use pyobjc to keep Thoughts on any of these possible solutions? |
FYI - I spent a couple hours today comparing the iOS 8.4 and iOS 10.1 file systems. There is definitely not a file similar to the LastLaunchServicesMap on the iOS 10.1 file system. I checked the InstalledApps.plist and com.apple.mobile.installation.plist files as well, and found no useful information in those files either. |
Ok, potentially I could retrieve the Bundle and Data containers manually (even if not ideal). |
Great find! I guess you were able to get your hands on a iOS 10 device? I am able to find a list of bundle IDs in that database, but I think we are still stuck manually traversing for Bundle and Data containers, as well as searching for entitlements, unless I am missing something. |
Interesting, I dug around in that database the other day. Were you able to find the bundle ids for custom apps that are installed? If so, what table did you find them in? Running this command on my device with iGoat installed and a few other custom apps (Test Flight and other client apps) does not reveal their bundle ids. iGoat Search: select * from application_identifier_tab where application_identifier LIKE '%iGoat%'; Full Dump: select * from application_identifier_tab; |
Hmm, I'm seeing my custom apps in that database at the bottom of the list. I haven't installed iGoat. I'll give that a shot later today, and report back if it appears in the applicationState.db file. |
So, here's a breakdown:
Anyone able to properly parse it? |
@marco-lancini
This is strange to me, since all plist files begin with a 'b' correct? I'm wondering if this is some sort of encoding issue? I also attempted to parse the plist file using the python modules plistlib, binplist, and binaryplist. None of these were successful in parsing the file. |
Awesome! Much appreciated. |
Excellent! I'll give it a test drive when it's ready. |
@cobbr: in order to be 100% reliable (and future-proof), we opted for developing a native agent. We plan to release it this coming week! :) |
I don't know if this could help, but I leave it here: |
useful |
Issue
hey, If you need anyone to work through Needle on IOS 10.1 I have a iPhone and iPad Pro here ready to go
I just need to know what information is useful to you and how best I acquire it
Expected behaviour
run to list apps
Actual behaviour
Version not supported
Steps to reproduce
needle error logs
Environment
Workstation Operating System
'Linux crackio 4.4.0-59-generic
Python Version
'Python 2.7.12'
Python Packages (pip freeze)
'pip freeze
adium-theme-ubuntu==0.3.4
argh==0.26.2
backports-abc==0.5
backports.ssl-match-hostname==3.5.0.1
beautifulsoup4==4.4.1
biplist==1.0.1
blinker==1.4
brotlipy==0.6.0
certifi==2016.9.26
cffi==1.9.1
chardet==2.3.0
click==6.7
colorama==0.3.7
ConfigArgParse==0.11.0
construct==2.5.3
cryptography==1.7.1
cssutils==1.0.1
EditorConfig==0.12.1
enum34==1.1.6
Flask==0.11.1
frida==9.0.7
h2==2.4.2
hpack==2.3.0
html2text==2016.9.19
html5lib==0.999
hyperframe==4.0.1
idna==2.2
ipaddress==1.0.18
itsdangerous==0.24
Jinja2==2.9.4
jsbeautifier==1.6.4
lxml==3.5.0
MarkupSafe==0.23
mitmproxy==0.18.3
paramiko==2.1.1
passlib==1.6.5
pathtools==0.1.2
Pillow==3.4.2
prompt-toolkit==1.0.9
pyasn1==0.1.9
pycparser==2.17
Pygments==2.1.3
pyOpenSSL==16.2.0
pyparsing==2.1.10
pyperclip==1.5.27
PyYAML==3.12
readline==6.2.4.1
requests==2.11.1
singledispatch==3.4.0.3
six==1.10.0
sshtunnel==0.1.2
tornado==4.4.2
typing==3.5.2.2
unity-lens-photos==1.0
urwid==1.3.1
watchdog==0.8.3
wcwidth==0.1.7
Werkzeug==0.11.15
'
Device iOS Version
'10.1.1`
The text was updated successfully, but these errors were encountered: