Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

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 0xmachos/495fb2543033c5226a5901f60e2c8032 to your computer and use it in GitHub Desktop.
Save 0xmachos/495fb2543033c5226a5901f60e2c8032 to your computer and use it in GitHub Desktop.
diff --git a/Lockdown b/Lockdown
index 97854f1..9f7b027 100755
--- a/Lockdown
+++ b/Lockdown
@@ -544,7 +544,7 @@ function disable_firewall_downloaded_signed {
function disable_ipv6 {
-
+ set -x
local mode=${1:?No mode passed}
local title
local audit_command
@@ -558,6 +558,7 @@ function disable_ipv6 {
fix_command='while read -r i; do networksetup -setv6off "${i}"; done <<< "$(networksetup -listallnetworkservices | tail -n $(( $(networksetup -listallnetworkservices | wc -l) - 1 )))"'
mode_check "${mode}" "${title}" "${audit_command}" "${fix_command}"
+ set +x
}
@@ -769,7 +770,7 @@ function check_if_standard_user {
function main {
- verify_signature
+ # verify_signature
# Verify Lockdown signature
macos_compatability_check
# Check the system is running the supoorted version of macOS
@0xmachos
Copy link
Author

0xmachos commented May 3, 2020

Assuming you're in the same directory as Lockdown, executing the following will apply the patch.

patch Lockdown 0001-disable_ipv6-Enable-ipv6-debug.-Disable-sig-check.patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment