Skip to content

Instantly share code, notes, and snippets.

@owenmurr
owenmurr / L2TPWindows10.bat
Created March 27, 2020 14:23
L2TP Windows 10
reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgent /v AssumeUDPEncapsulationContextOnSendRule /d 2 /t REG_DWORD
@owenmurr
owenmurr / randomstring.ps1
Last active December 14, 2020 09:57
Random alphanumeric string with uppercase and lowercase letters and a few special characters ASCII table numbers
-join (((48..57)+(65..90)+(97..122)+(33..46)) * 80 |Get-Random -Count 25 |%{[char]$_})
@owenmurr
owenmurr / gist:d7180a98b08abf1b16778366852824ab
Last active February 10, 2021 14:21
Enabling IE mode Edge Chromium
#Requires -RunAsAdministrator
$source = "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/814d7696-a129-49c5-9060-1345a83c4a66/MicrosoftEdgePolicyTemplates.zip"
$zipFile = "C:\Users\$env:USERNAME\edgeadmx.zip"
$unzipFile = "C:\Users\$env:USERNAME\edgeadmx"
Write-host "Downloading Microsoft Edge Policy Templates" -ForegroundColor Black -BackgroundColor Magenta
Invoke-WebRequest -Uri $source -OutFile $zipFile
@owenmurr
owenmurr / wordlist.csv
Last active July 20, 2022 19:17
Word List
We can't make this file beautiful and searchable because it's too large.
Words
a
aa
aaa
aachen
aardvark
aardvarks
aaron
ab
aba