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

attributedBody decoding #1

Open
magnacartatron opened this issue Jan 9, 2025 · 2 comments
Open

attributedBody decoding #1

magnacartatron opened this issue Jan 9, 2025 · 2 comments

Comments

@magnacartatron
Copy link

I think this is a bit out of date. Messages maybe be stored in the text field but generally are stored as binary blobs in attributedBody. They look like serialized NSObjects and require some decoding. If you can do this with python it would be pretty cool.

@siddhxrth
Copy link
Owner

Yeah I noticed that as well, I've been working on a fix and a web interface for this project in my free time but I've been busy due to school work. I have a (semi) working fix for decoding the NSObjects but still working on getting it ready for release. I'd love some help if you're willing!

@magnacartatron
Copy link
Author

@siddhxrth To the best of my ability I've been able to unpack the data but my ObjectiveC knowledge is a bit limited. Ideally it's unpacked like a serialized object but it's a bit trickier than that. Also it appears that it's not always the same fields being utilized. I've also noticed that more and more of the text fields that used to have data in my Chat.db are now moving to attributedBody. I've can give you the swift code but it's pretty nasty.

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

2 participants