harden and spoof
This commit is contained in:
parent
e55e7ea84c
commit
62427d3f7b
9
bin/harden.sh
Normal file
9
bin/harden.sh
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# https://github.com/drduh/macOS-Security-and-Privacy-Guide
|
||||||
|
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate on
|
||||||
|
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setloggingmode on
|
||||||
|
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setstealthmode on
|
||||||
|
cd ~/bin
|
||||||
|
git clone git@github.com:karek314/macOS-home-call-drop.git
|
||||||
|
cd macOS-home-call-drop
|
||||||
|
bash homecall.sh fixmacos
|
3
bin/spoof_mac.sh
Executable file
3
bin/spoof_mac.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
sudo ifconfig en0 ether $(openssl rand -hex 6 | sed 's%\(..\)%\1:%g; s%.$%%')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user