Skip to content

Instantly share code, notes, and snippets.

@dreamwhite
Last active February 6, 2021 22:24
Show Gist options
  • Save dreamwhite/4b395f3f8cc2ded3c50b0358fbcec4b9 to your computer and use it in GitHub Desktop.
Save dreamwhite/4b395f3f8cc2ded3c50b0358fbcec4b9 to your computer and use it in GitHub Desktop.
MacUpdater2 Unlimited Scans bypass script
#!/usr/bin/python3
"""
MacUpdater 2 unlimited scans bypass --- by dreamwhite
Program functioning: python3 bypass.py
How does it work?
If you give a look at MAC_UPDATER_PLIST_PATH there's an array called "LastFullScans"
which contains the timestamps of the last three full-scans. If you exceed three full-scans
the program raises an error and you should wait 24h for unlocking only one full-scan.
The same logic applies for Usages variable hehe
This script basically empties the above array and let you do unlimited scans.
"""
import plistlib
import os
MAC_UPDATER_PLIST_PATH = f"""{os.environ["HOME"]}/Library/Preferences/com.corecode.MacUpdater.plist"""
with open(MAC_UPDATER_PLIST_PATH, "rb") as f:
pl = plistlib.load(f)
pl["LastFullScans"] = []
pl["Usages2"] = -69410
patched_plist = open(MAC_UPDATER_PLIST_PATH, "wb")
plistlib.dump(pl, patched_plist)
@dreamwhite
Copy link
Author

mmmmmmh 69420 nice

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