- open shorcuts.app
- New shortcut
- Set type to
run shell script(search from the box at the right) - (Note: need to manually enable shell actions through preferences... click the button, click advanced, and tick the first checkbox then closee that little pop up then you should be good)
- Copy/paste the script
- Make sure shell is set to
bash, and check run as administrator
Last active
December 25, 2024 01:09
-
-
Save shakeelmohamed/143a09bd2f1e632fae3a92f8389f5a35 to your computer and use it in GitHub Desktop.
Run Syphoner for MacOS by changing date before and after launching. Inspired by https://github.com/arunyagoojar/RunAsDate-for-MacOS/tree/main Syphoner can be downloaded here: https://www.sigmasix.ch/syphoner/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| sudo systemsetup -setusingnetworktime off | |
| # Change date to a specific date | |
| sudo date 1001110022 | |
| # Wait for 3 seconds | |
| sleep 3 | |
| # Launch Syphoner | |
| open /Applications/Syphoner.app | |
| # Wait for 3 seconds | |
| sleep 3 | |
| # Change date back to current date | |
| sudo systemsetup -setusingnetworktime on |
Author
shakeelmohamed
commented
Sep 25, 2023

Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment