Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/0xmachos/macos-scripts
Various scripts for macOS tasks
https://github.com/0xmachos/macos-scripts
bash macos security-tools shell-scripts zsh
Last synced: 6 days ago
JSON representation
Various scripts for macOS tasks
- Host: GitHub
- URL: https://github.com/0xmachos/macos-scripts
- Owner: 0xmachos
- License: mit
- Created: 2019-01-02T17:27:20.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-11T17:01:01.000Z (25 days ago)
- Last Synced: 2024-10-17T12:23:46.316Z (19 days ago)
- Topics: bash, macos, security-tools, shell-scripts, zsh
- Language: Shell
- Homepage:
- Size: 221 KB
- Stars: 115
- Watchers: 4
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# macos-scripts
Various scripts for macOS tasks![Shellcheck](https://github.com/0xmachos/macos-scripts/workflows/Shellcheck/badge.svg)
### [`c0design`](https://github.com/0xmachos/macos-scripts/blob/master/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`](https://github.com/0xmachos/macos-scripts/blob/master/debug)
- Print some debug info about the current system
- Usage: `./debug`
- Usage: `./debug | pbcopy` (Copies output to the clipboard)### [`detect-vmware`](https://github.com/0xmachos/macos-scripts/blob/master/detect-vmware)
- Try to determine if being run in a VMware Virtual Machine
- Usage: `./detect-vmware`### [`legacy-check`](https://github.com/0xmachos/macos-scripts/blob/master/legacy-check)
- Check system for 32-bit applications & third party kernel extensions
- Usage: `./legacy-check`### [`office-macro-security`](https://github.com/0xmachos/macos-scripts/blob/master/office-macro-security)
- Disable/ restrict Microsoft Office macro execution
- Usage: `./office-macro-security {list | disable | restrict | both | undo}`### [`pkg-expand`](https://github.com/0xmachos/macos-scripts/blob/master/pkg-expand)
- Expands package (`--expand-full`)
- Finds and expands embeded packages
- Dumps Bill of Material (Bom) files
- Usage: `./pkg-expand /tmp/example.pkg`