Go to file
2023-12-27 03:34:12 -06:00
.gitignore Update for initial code 2023-12-26 13:55:56 -06:00
LICENSE Initial commit 2023-12-26 19:27:33 +00:00
README.md Update to README 2023-12-27 03:34:12 -06:00
unlock_action.php Update to include license comment 2023-12-26 14:09:38 -06:00
unlock_finished.php Update to include license comment 2023-12-26 14:09:38 -06:00
unlock.as Update to include license comment 2023-12-26 14:09:38 -06:00
unlock.php Update to include license comment 2023-12-26 14:09:38 -06:00

macos_unlock

The handy, dandy unlocker for macOS.

Setup

All you need to do is to install the PHP scripts and ApplScript file in the same location on a PHP enabled web server and edit in that location a "password.txt" file with your password. Finally, make sure to install caffeinate (Homebrew helps with this).

Keep in mind, you might need to grant a buncha permissions to the web server and PHP to execute scripts.

Calling the URL

There's many ways one can initiate the call to unlock.php on your webserver. One such way that I use is an NFC chip with a URL data point set on it. When I scan with my Android device, it will call the unlock, do the action, and load the finished screen. It just works (tm)!

Security Considerations

This will grant access to malicious individuals potentially, so make sure everything is secure, including not exposing the webserver outside your network.