Last active
April 19, 2016 20:21
-
-
Save ssp/d57ae349b8b0f54c2634 to your computer and use it in GitHub Desktop.
One-liner to check all running processes on Mac OS X with codesign.
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
#!/usr/bin/env sh | |
ps aux | cut -b 16-22 | sed -e "s/\s*//" | grep -v PID | sort -n | xargs -n 1 -IA sh -c "codesign --verify --deep A" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment