Skip to content

Instantly share code, notes, and snippets.

@dinhkk
Last active March 26, 2018 03:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dinhkk/d8b0cf35ae4f3a82be632b545462300c to your computer and use it in GitHub Desktop.
Save dinhkk/d8b0cf35ae4f3a82be632b545462300c to your computer and use it in GitHub Desktop.

1. display all opened ports

lsof -PiTCP -sTCP:LISTEN

2. disable httpd default

sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist

##3 disable admin control. allow cracked app running on mac

sudo spctl --master-disable
sudo spctl --master-enable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment