Skip to content

Instantly share code, notes, and snippets.

@fishd72
Last active September 18, 2021 14:01
Show Gist options
  • Save fishd72/2b43db8b02e697eda07991620d51f72d to your computer and use it in GitHub Desktop.
Save fishd72/2b43db8b02e697eda07991620d51f72d to your computer and use it in GitHub Desktop.
#Show all 3rd party Kernel extensions
sudo /usr/bin/sqlite3 /var/db/SystemPolicyConfiguration/KextPolicy 'SELECT * FROM kext_policy;'
#Strip signing from Config Profile
openssl smime -inform DER -verify -in /path/to/downloaded.mobileconfig -noverify -out /path/to/de-signed.mobileconfig
#Format plist
plutil -convert xml1 /path/to/de-signed.mobileconfig
#Get App signature
codesign --display -r- --deep -v /path/to/.appBundle
#Check APNS using proxy
curl -x proxy.url:port -U <username> -v telnet://api.push.apple.com:5223
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment