Skip to content

Instantly share code, notes, and snippets.

View mikegior's full-sized avatar

Michael "gio" Giordano mikegior

View GitHub Profile
@mikegior
mikegior / LDAP_NULL_Bind.ps1
Last active February 22, 2023 00:09
Configures (modern) Active Directory to allow NULL LDAP binding
# Enable LDAP NULL Bind
#
# This should not be used in production! This script enables unauthenticated/NULL LDAP bind.
# The intent of this script is to enable NULL LDAP bind for use with CTF or lab environments.
#
# References
# https://learn.microsoft.com/en-us/dotnet/api/system.directoryservices.activedirectorysecurityinheritance?view=dotnet-plat-ext-7.0
# https://learn.microsoft.com/en-us/windows/win32/secauthz/well-known-sids
# https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-adts/e5899be4-862e-496f-9a38-33950617d2c5
# https://learn.microsoft.com/en-us/dotnet/api/system.directoryservices.activedirectoryaccessrule?view=windowsdesktop-7.0
@mikegior
mikegior / ghost-blog-k3s-template.yml
Last active January 24, 2023 23:50
All-in-one Ghost Blog deployment
---
apiVersion: v1
kind: Namespace
metadata:
name: ghost-blog
---
apiVersion: v1
kind: Secret
metadata:
name: ghost-mysql-secret