Skip to content

Instantly share code, notes, and snippets.

@krypted
Created December 20, 2018 19:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save krypted/192a9d0c5162843737bfc7e4f5f7697c to your computer and use it in GitHub Desktop.
Save krypted/192a9d0c5162843737bfc7e4f5f7697c to your computer and use it in GitHub Desktop.
if [[ $(/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -dump | grep usrnode
) ]]; then
echo "<result>WindTail Detected</result>"
else
echo "<result>Not Detected</result>"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment