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 October 22, 2024 02:04
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] }