Skip to content

Instantly share code, notes, and snippets.

View trentn's full-sized avatar

Trent Novelly trentn

View GitHub Profile
@trentn
trentn / Get-Uri-Schemes.ps1
Last active June 1, 2022 15:55
Powershell One-liner to list URI Schemes in Windows 10
# Based on "Enumerating URI Handlers in Windows 10" from https://positive.security/blog/ms-officecmd-rce
Get-ChildItem -Path Registry::HKEY_CLASSES_ROOT | where Property -CContains "URL Protocol" | % { $_.ToString().Split('\')[1] }