This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>PayloadContent</key> | |
<array> | |
<dict> | |
<key>PayloadContent</key> | |
<dict> | |
<key>com.apple.MCX</key> |
This file contains 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
{"publisher": "Microsoft", "currentVersion": "4.5.32.0", "requirements": [{"operator": "is", "and": true, "type": "recon", "name": "Application Bundle ID", "value": "com.microsoft.app.scep_gui"}], "name": "System Center Endpoint Protection", "appName": "System Center Endpoint Protection.app", "lastModified": "2018-05-05T13:14:45Z", "patches": [{"releaseDate": "2018-03-01T11:26:06Z", "killApps": [{"appName": "System Center Endpoint Protection.app", "bundleId": "com.microsoft.app.scep_gui"}], "version": "4.5.32.0", "components": [{"version": "4.5.32.0", "name": "System Center Endpoint Protection", "criteria": [{"operator": "is", "and": true, "type": "recon", "name": "Application Bundle ID", "value": "com.microsoft.app.scep_gui"}, {"operator": "is", "type": "recon", "name": "Application Version", "value": "4.5.32.0"}]}], "standalone": true, "minimumOperatingSystem": "10.5.0", "dependencies": [], "reboot": false, "capabilities": [{"operator": "greater than or equal", "type": "recon", "name": "Operating System Ver |
This file contains 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 | |
/Applications/System\ Center\ Endpoint\ Protection.app/Contents/MacOS/scep_set --section fac --set='action_av = "scan"' | |
sleep 1 | |
launchctl unload /Library/LaunchDaemons/com.microsoft.scep_daemon.plist | |
sleep 1 | |
launchctl load /Library/LaunchDaemons/com.microsoft.scep_daemon.plist | |
exit 0 |
This file contains 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 | |
status=$(/Applications/System\ Center\ Endpoint\ Protection.app/Contents/MacOS/scep_daemon --status | grep RTPStatus | cut -d '=' -f 2) | |
echo "<result>$status</result>" | |
exit 0 |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.NT-Ware.UniFLOWMacClient</string> | |
<key>Program</key> | |
<string>/Applications/UniFLOW/MacClient.app/Contents/MacOS/MacClient</string> | |
<key>RunAtLoad</key> | |
<true/> |
This file contains 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 | |
loggedInUser=$(python -c 'from SystemConfiguration import SCDynamicStoreCopyConsoleUser; import sys; username = (SCDynamicStoreCopyConsoleUser(None, None, None) or [None])[0]; username = [username,""][username in [u"loginwindow", None, u""]]; sys.stdout.write(username + "\n");') | |
sudo -u "$loggedInUser" defaults write com.unity3d.UnityEditor5.x EditorUpdateShowAtStartup -int 0 | |
sudo -u "$loggedInUser" defaults write com.unity3d.UnityEditor5.x UnityConnectWorkOffline -int 1 | |
exit 0 |
This file contains 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 | |
loggedInUser=$(python -c 'from SystemConfiguration import SCDynamicStoreCopyConsoleUser; import sys; username = (SCDynamicStoreCopyConsoleUser(None, None, None) or [None])[0]; username = [username,""][username in [u"loginwindow", None, u""]]; sys.stdout.write(username + "\n");') | |
# Do nothing if Unity license file already exists | |
if [[ -e "/Library/Application Support/Unity/Unity_lic.ulf" ]]; then | |
echo "Unity is licensed, exiting..." | |
exit 0 | |
fi |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.neilmartin83.disable-squirrel-update-check</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/bin/launchctl</string> | |
<string>setenv</string> |
This file contains 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 | |
docker pull macadmins/tftpd | |
docker pull macadmins/netboot-httpd | |
docker pull macadmins/unfs3 | |
docker pull bruienne/bsdpy:1.0 | |
# Other stuff is above here | |
docker stop $(docker ps -a -q) | |
docker rm $(docker ps -a -q) |
This file contains 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/sh | |
loggedInUser=$( scutil <<< "show State:/Users/ConsoleUser" | awk '/Name :/ && ! /loginwindow/ { print $3 }' ) | |
sudo -u "${loggedInUser}" /usr/local/bin/vboxmanage setextradata global GUI/UpdateDate never |