So recently I got a last generation powerbook, my first laptop. Even though I back up my data, I would still rather not have it stolen. Or, if it gets stolen, I'd like to be able to get it back. After looking online for a free solution, I found
LoJack for Laptops. Sounds like it would work, but you have to pay a subscription. I don't want to have to pay money to have a 3 in 4 chance (straight from the website) of getting my laptop back if it's stolen! So I rolled my own using python and an ftp server. The program starts running in the background every time you log in, and every two minutes it checks with an ftp server to see if I've flagged it as stolen. If I have, it takes a screenshot and uploads it with the current IP address and a timestamp to the server, and keeps doing it every two minutes until I have it stop. While it won't do remote data deletion, it could pretty easily - I just didn't want to risk accidentally triggering it while testing.
To make your own copy of the script, you'll need the following:
1. An apple computer running a fairly recent version of OS X
2.
Apple developer tools -
these are necessary to compile the script into an application that can start running every time you log in. The mac-development only package is fine. Be warned, this is a pretty big download, but it's definitely worth it if you are interested in coding anything on a mac ever.3. An apple ID -
it lets you register and download the developer tools above.
4. Python -
it comes pre-installed with the computer
5. Access to an FTP server -
it doesn't have to be yours, but you do need the username, password, and address of a server with ftp access.6. An empty text file called 'yes.rtf' -
keep this somewhere on your computer but don't upload it to the server yet
There is a way to do it on a windows, but it's slightly more complicated. Python does work on windows, you just have to install it first (I'm not sure if it comes pre-installed). Anyway, once you've installed it, the script should work fine, but it's harder to get it to run automatically in the background. You could look into cron and automated task scheduling - I tried to do it with the osx equivalent but my computer was not cooperating. Let me know how it turns out