Skip to content

Files

Latest commit

14bf2e3 · Jan 19, 2021

History

History
32 lines (16 loc) · 786 Bytes

readme.md

File metadata and controls

32 lines (16 loc) · 786 Bytes

Prevent network usage of an app on OS X

Use these shell scripts to prevent an OS X app for using outgoing and ingoing network, like Little Snitch or a 2 way firewall would have done.

This uses Buckleup to patch the app permanently.

Usage

To patch a file :

  • $ sudo chmod -R +x .
  • $ ./patch.sh COMPLETE_PATH_TO_YOUR_APP

To unpatch it :

  • Check it's already patched in patched_apps.txt
  • $ ./unpatch.sh COMPLETE_PATH_TO_YOUR_APP

Advance usage

To generate a Seatbelt for an app, use generate_sb.sh :

$ ./generate_sb.sh COMPLETE_PATH_TO_YOUR_APP

Then use buckleup.py directly to patch it

Note

From OS X 10.11, sandbox-simplify is no longer on /usr/bin ; if you need to generate some .sb, copy it from ./bin.