Does anybody know what information is stored in Safari > lastsession.plist > sessionstate and how to encode it to human readable text? Thanks
It’s base64 so you can easily decode it
EDIT: Well after decoding the code myself I found binary code again. You have to decode that as well. When you decode it with base64 and then decode it binary you will get an dictionary holding the following keys.
- SessionHistory
- SessionHistoryCurrentIndex
- SessionHistoryEntries
- SessionHistoryEntryData
- SessionHistoryEntryTitle
- SessionHistoryEntryURL
- SessionHistoryEntryOriginalURL
We can see that keeps browser sessions, not user user sessions.
Thanks.
I tried this
do shell script “openssl base64 < /Users/Cirno/Desktop/code.txt”
and it returns weird code.
How i can do this binary code encoding thing?