Skip to content

PHP class to locate, play sounds, and lock iOS devices

License

Notifications You must be signed in to change notification settings

Tony-Pa/PHP-FindMyiPhone

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PHP-FindMyiPhone

PHP class to locate, play sounds, and lock iOS devices

What is the purpose?

Since 2010, I've been logging my location history every 20 minutes. I find it to be really cool to look at a map showing me everywhere I have gone in the past few years.

Imgur

Why should I use your code?

I have a vested interest in this code continuing to work so I'll be very quick to figure out why things stop working (which they do from time to time when Apple changes things) and I'll be quick to fix things.

How exactly does this code work?

I reverse engineered the API that the FindMyiPhone app uses and that allowed me to write this code. I found this really awesome piece of software called Charles Web Debugging Proxy that lets you look at the data an iPhone app sends and receives. Take a look at example.php for some sample code to get you up and running. You just need to enter your username and password.

What things can I do with this code?

Currently you can

  • Get the current location for any of your devices
  • Play a sound and display a message on any of your devices
  • Remotely lock and display a message and phone number on any of your devices

Whats the simplest piece of code to get up and running

<?php
	include ("class.findmyiphone.php");
	$fmi = new FindMyiPhone("icloud_username", "icloud_password");
	$fmi->printDevices();
?>

About

PHP class to locate, play sounds, and lock iOS devices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%