Skip to content

Instantly share code, notes, and snippets.

@lunamoth
Created October 5, 2022 06:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lunamoth/c1e6f41d3403a5cd6e6680d3fc175610 to your computer and use it in GitHub Desktop.
Save lunamoth/c1e6f41d3403a5cd6e6680d3fc175610 to your computer and use it in GitHub Desktop.
%windir%\system32\cmd.exe /c powershell (Add-Type '[DllImport(\"user32.dll\")]^public static extern int SendMessage(int hWnd, int hMsg, int wParam, int lParam);' -Name a -Pas)::SendMessage(-1,0x0112,0xF170,2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment