Skip to content

Instantly share code, notes, and snippets.

Avatar

Mikey 0xmachos

View GitHub Profile
@0xmachos
0xmachos / commands.md
Last active Dec 21, 2021
SSH Cheatsheet
View commands.md
sudo sshd -t
sudo systemctl restart sshd
View 0001-disable_ipv6-Enable-ipv6-debug.-Disable-sig-check.patch
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
View QuarantineEventsV2.md
LSQuarantineEventIdentifier LSQuarantineTimeStamp LSQuarantineAgentBundleIdentifier LSQuarantineAgentName LSQuarantineDataURLString LSQuarantineSenderName LSQuarantineSenderAddress LSQuarantineTypeNumber LSQuarantineOriginTitle LSQuarantineOriginURLString LSQuarantineOriginAlias
B555DB5F-D82A-408B-B9A6-D4F4012FD520 570726604.559004 com.apple.Safari Safari https://github-production-release-asset-2e65be.s3.amazonaws.com/... NULL NULL 0 NULL https://github.com/br1sk/brisk/releases NULL
View old_mac_installer.md
@0xmachos
0xmachos / multi_pihole.md
Created Jun 15, 2018
How to configure two Pi-holes on the same network
View multi_pihole.md

Multiple Pi-holes

In this scenario we are configuring two Pi-holes running on the same network. pihole0 is the main DNS server while pihole1 is the secondary.

  • pihole0
    • 192.168.1.4
    • http://pi.hole0/admin/
  • pihole1
    • 192.168.1.5
  • http://pi.hole1/admin/
@0xmachos
0xmachos / install_rbenv.sh
Created Mar 7, 2018
Install the Ruby version manager rbenv and ruby-build to allow you to install Ruby versions
View install_rbenv.sh
#!/usr/bin/env bash
set -eo pipefail
# -e exit if any command returns non-zero status code
# -o pipefail force pipelines to fail on first non-zero status code
FATAL="\\033[1;31mFATAL\\033[0m"
WARNING="\\033[1;33mWARNING\\033[0m"
PASS="\\033[1;32mPASS\\033[0m"
INFO="\\033[1;36mINFO\\033[0m"
View mac_security_timeline.md