Tao Effect Forums

Espionage => Espionage 3 => Topic started by: jirafita1980 on February 27, 2013, 06:02:53 PM

Title: MISSING APPLICATION DATA
Post by: jirafita1980 on February 27, 2013, 06:02:53 PM
hi, im trying to add ichats and notes applications to espionage but when i select those applications it say me what it follows: MISSING APPLICATION DATA
espionage cannot find any of the applications folders:
/user/jirafita1980/Documentos/ichats
This can happen if the appliation hasten run yet or was recently updated and has moved its data

I already used those applications

thanks and im sorry about my english
Title: Re: MISSING APPLICATION DATA
Post by: zsolt on February 27, 2013, 10:34:11 PM
Hello, it is probably because the application folder names and paths were changed in the latest OS X and they were not updated in Espionage 2 as it is not actively developed any more.

Please let me know which applications you want to add and which OS X version do you have and I will try to find out which foldes you have to add.

Rgds
Zsolt
Title: Re: MISSING APPLICATION DATA
Post by: jirafita1980 on February 28, 2013, 04:35:41 PM
hi, i want to add messages and notes
thanks a lot
Title: Re: MISSING APPLICATION DATA
Post by: jirafita1980 on February 28, 2013, 05:00:25 PM
And my software es os x 10.8.2 (12c3103)

thanks again
Title: Re: MISSING APPLICATION DATA
Post by: zsolt on March 04, 2013, 01:05:02 AM
Hello, here are the two folders you have to protect:
/Users/yourusername/Library/Messages
/Users/yourusername/Library/Containers/com.apple.Notes/Data/Library/Notes/

However, it is not that simply, and I guess this is why the Espionage developers decided to drop the application protection in espionage 3.

First of all the easy part:
- Espionage 3 works in a way that if the folder is locked, it appears to the system as empty folder. The access to the folder is granted, it is just empty. Espionage 2 works different, if the folder is protected if anything tries to access it, it will trigger the password prompt, if you deny it, the application or whatever else will be denied access to the folder
- But there is more to it: if the folder is locked, in the empty folder which is the protected folder mount point, or place holder, you can put some data. This data will disappear when you unlock the folder and reappear when you lock it. So basically you can end up with folder having different content depending whether it is unlocked or locked. I find this a neat trick, which can further mislead the potential intruder.
- Now having this in mind, if an application stores some data into a folder, and you quit the application and lock the folder afterwards, if you launch the app again, without unlocking the folder first, the app fill find no data and it will start up with no data, like for the first time, so it will create the default empty files. And you can write into them.
So for Notes, for example:
- you start it for the first time, enter a few notes, quit notes, protect the folder, unlock the folder, open notes, the data will be there
- now you quit notes, lock the folder, launch notes, it will start up empty. now you write some notes, quit notes, launch notes, the new data will be there.
- and here is the interesting part: now you quit notes, unlock the folder, launch notes, you will get the first notes. now quit notes, lock folder, launch notes, you will get the second set of data :-)
Yeah, I know, read it few times, you will get it :-)

If you prefer not to have the second set of data at all, then you set espionage to launch on startup and set the notes folder to unlock automatically.
BUT: due to mountain lion "reopen windows on next login", I'm not sure if you can ever enter into scenario that the notes launch earlier then espionage manages to unlock it, this is if you had notes running before logout or reboot.
If this happens, you will end up with emtpy notes. Just quit notes, unlock the folder and launch notes again.....

###

Now for the messages:
- I tested it briefly and it behaves a bit different then notes, even if you have the folder locked, it seems that all what is gone is the message history, which is I guess the most important thing, however the contacts you were messaging with and your account details will still be there.
Not sure if this is good enough for you.

To see exactly which folders is an application reading, use the fseventer utility from http://www.fernlightning.com/ (http://www.fernlightning.com/)
You will see more then you ever wanted to :-)
There are all sort of caches and tmp files which are read, so I'm not sure how to prevent all the data to appear.

Give it a try and if you figure it out, let me know.

I hope I helped you at least a bit.

Rgds
Zsolt