3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Laptop Recovery

Laptop Recovery
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.
 
Remove these adsRemove these ads by Signing Up
 

Step 1Requirements

Requirements
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
 
« Previous StepDownload PDFView All StepsNext Step »
5 comments
Apr 9, 2010. 5:59 AMkillersquirel11 says:
Only thing that would make this better is if it uploaded an image from a webcam as well
Nov 22, 2009. 5:34 AMScytheon3 says:
Do you know if there is any way to do this on windows. I already have and ftp server but dont know how to do the equivalent of the python script on windows
Nov 22, 2009. 6:15 AMScytheon3 says:
ill try it out and thanks for getting back to me so quickly

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
1
Followers
2
Author:thedownsmeister