Skip to content

Instantly share code, notes, and snippets.

@trentn
Last active June 1, 2022 15:55
Show Gist options
  • Save trentn/10e7927a3f7ba91640b846a8071a067c to your computer and use it in GitHub Desktop.
Save trentn/10e7927a3f7ba91640b846a8071a067c to your computer and use it in GitHub Desktop.
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] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment