WeeGee v0.01 Script: Fuel Code: Based on mailsend and squide source code ABOUT Weegee is a simple anti-theft package designed to send back iPhone usage data after it is stolen. THIS IS ONLY MEANT FOR PERSONAL USE. PLEASE USE RESPONSIBLY. WHAT YOU NEED A hacked iPhone with the binkit installed. Make sure you have the following commands available on the phone before continuing: cp curl date echo find gzip mkdir mv rm sqlite3 tar Also, this package includes the script and three extra files. weegee.sh --------- This is the main script that does the work. Place it in /usr/bin mailsend --------- Place this in /usr/bin/. This is a commandline utility that sends mail in the background. WeeGee uses this to send your data back to you. resizeJPEG ---------- You guessed it, place it in /usr/bin/. This resizes JPEGs to save time when uploading. com.fuel.weegee.plist --------------------- Tells the iPhone to run the script every hour. Place this in /System/Library/LaunchDaemons/. CONFIGURING WEEGEE.SH At the top of the script, there are a couple of variables you need to configure: workPath Path for temporary files. Default is /weegee/. resizePath Path for resizeJPEG binary. Default is /usr/bin/resizeJPEG. JPEGMaxWidth Max width or height of image. Default is 600. JPEGQuality Use 1-100 to reduce/enhance JPEG quality watchURL URL of file to check. mailcmd Command to send mail. Use your own personal SMTP settings. WHAT IT DOES * It uses checks the content of a remote web page. If the content is "0", the script updates a temporary local file with the current time and quits. If it returns "1", the script assumes the phone is stolen and begins its work. * First, it uses sqlite3 to export call and sms history to a sql-formatted text file. * It copies Safari's web history plist file. * These three files are then archived and emailed to your specified address. * Next, it checks for photos taken with the camera since the last time the script ran. It resizes them, archives them and sends them to the email mentioned in the previous step.