Macos Scripts Save

Various scripts for macOS tasks

Project README

macos-scripts

Various scripts for macOS tasks

Shellcheck

c0design

  • Wrapper for codesign, spctl, stapler & pkgutil
  • Check codesigning and notarisation of application or package (.pkg) at $path_to_verify
    • Equivalent of codesign --verify --deep --strict && spctl --assess --type exec
    • Equivalent of pkgutil --check-signature && spctl --assess --type install
  • Check codesigning and notarisation of all non system (thirdparty) applications
  • Usage: ./c0design {usage | list | verify $path_to_verify | thirdparty}

debug

  • Print some debug info about the current system
  • Usage: ./debug
  • Usage: ./debug | pbcopy (Copies output to the clipboard)

detect-vmware

  • Try to determine if being run in a VMware Virtual Machine
  • Usage: ./detect-vmware

legacy-check

  • Check system for 32-bit applications & third party kernel extensions
  • Usage: ./legacy-check

office-macro-security

  • Disable/ restrict Microsoft Office macro execution
  • Usage: ./office-macro-security {list | disable | restrict | both | undo}

pkg-expand

  • Expands package (--expand-full)
  • Finds and expands embeded packages
  • Dumps Bill of Material (Bom) files
  • Usage: ./pkg-expand /tmp/example.pkg
Open Source Agenda is not affiliated with "Macos Scripts" Project. README Source: 0xmachos/macos-scripts
Stars
109
Open Issues
0
Last Commit
1 month ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating