Skip to content

Instantly share code, notes, and snippets.

# Powershell script to bypass UAC on Vista+ assuming
# there exists one elevated process on the same desktop.
# Technical details in:
# https://tyranidslair.blogspot.co.uk/2017/05/reading-your-way-around-uac-part-1.html
# https://tyranidslair.blogspot.co.uk/2017/05/reading-your-way-around-uac-part-2.html
# https://tyranidslair.blogspot.co.uk/2017/05/reading-your-way-around-uac-part-3.html
# You need to Install-Module NtObjectManager for this to run.
Import-Module NtObjectManager
@tpitale
tpitale / server.rb
Created November 2, 2012 21:05
Reel-based SSE server
require 'reel'
require 'json'
class SSE
def initialize(io)
@io = io
end
def write(object, options={})
options.each do |k,v|