How to Uninstall NoMAD

Here is a simple script to uninstall NoMAD: # /bin/bash # Rui Qiu # Remove NoMad and use direct AD Bind loggedInUser=`/bin/ls -l /dev/console | /usr/bin/awk ‘{ print $3 }’` pkill “NoMAD” sudo rm -rf /Applications/NoMAD.app sudo rm -rf “/Library/Managed Preferences/com.trusourcelabs.NoMAD.plist” sudo rm -rf “/Library/Managed Preferences/$loggedInUser/com.trusourcelabs.NoMAD.plist” sudo rm -rf “/Users/$loggedInUser/Library/LaunchAgents/com.trusourcelabs.NoMAD.plist”   And you can use […]

Casper MalwareBytes Package

Here are my two scripts for install and scan with MalwareBytes on Casper. First one is to download, install and register MBBR: #/bin/sh # MBBR Scanner # Ray Qiu # Feb 2, 2017 # Download Installer cd /tmp curl -LOk http://xxx.com/tools/mbbr-mac.zip sudo unzip -o mbbr-mac.zip # Install sudo installer -pkg “/tmp/mbbr-mac.pkg” -target / # Registeration […]