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 | |
| # This script creates an entitlements file with com.apple.security.get-task-allow enabled | |
| # and re-signs the specified binary using an ad hoc signature. | |
| # Mostly written by chatgpt. It works though :) | |
| # Usage: run it on an app idk it's pretty simple | |
| if [ "$#" -ne 1 ]; then | |
| echo "Usage: $0 /Path/To/YourBinary" | |
| exit 1 |
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
| echo "Beginning Microslop AutoUpdate elimination process..." | |
| echo "\n1. Checking if MAU is running:" | |
| pkill -f "Microsoft AutoUpdate" && echo " - It was— so I shot it!" || echo " - Nope! It knows to hide." | |
| echo "\n2. Removing MAU application folders:" | |
| if [[ -d "/Library/Application Support/Microsoft/MAU" ]]; then | |
| echo " - Legacy folder found— DISINTEGRATE!" | |
| sudo rm -rf "/Library/Application Support/Microsoft/MAU" |