Skip to content

Instantly share code, notes, and snippets.

View InfiniteInsight's full-sized avatar
🐈‍⬛

Mr. Nevermore InfiniteInsight

🐈‍⬛
View GitHub Profile
@InfiniteInsight
InfiniteInsight / openssl_commands.md
Created April 7, 2025 18:42 — forked from Hakky54/openssl_commands.md
OpenSSL Cheat Sheet

OpenSSL Cheat Sheet 🔐

Install

Install the OpenSSL on Debian based systems

sudo apt-get install openssl
@InfiniteInsight
InfiniteInsight / Set-UmbrellaDNSForwarders.ps1
Last active September 13, 2022 14:21
Use PowerShell to set Domain Controller DNS Forwarders to use Cisco Umbrella/OpenDNS
#Set the public IPs for Cisco Umbrella / OpenDNS
$openDNS = "208.67.220.220", "208.67.220.222", "208.67.222.220", "208.67.222.222"
#Get a list of your Domain Controller.
$dcs = Get-ADcomputer -SearchBase "OU=Domain Controllers,DC=your,DC=domain,DC=com"
#you can also simply use Get-ADDomainController -filter *
#Iterate through each DC
foreach($DC in $dcs){
#Log the current DNSForwarder settings