Created
October 3, 2014 18:04
-
-
Save homebysix/5f1e09b7a3e75c229ef1 to your computer and use it in GitHub Desktop.
iworm_check.sh
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 | |
### | |
# | |
# Name: iworm_check.sh | |
# Description: Casper extension attribute that checks whether iWorm is | |
# detected. | |
# Author: Elliot Jordan <[email protected]> | |
# Created: 2014-10-03 | |
# Last Modified: 2014-10-03 | |
# Version: 1.0 | |
# | |
### | |
if [[ -d '/Library/Application Support/JavaW' ]]; then | |
resultString="iWorm detected." | |
else | |
resultString="iWorm not detected." | |
fi | |
echo "<result>$resultString</result>" | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment