Update cheatsheets

This commit is contained in:
ivuorinen
2024-10-03 00:17:01 +00:00
parent 6db54f9410
commit 2f7a186f62
16 changed files with 286 additions and 8 deletions

View File

@@ -7,16 +7,16 @@ source: https://github.com/tldr-pages/tldr.git
> A utility that can edit windows registry, reset user password, promote users to administrator by modifying the Windows SAM.
> Boot target machine with live cd like Kali Linux and run with elevated privileges.
> More information: <http://pogostick.net/~pnh/ntpasswd>.
> More information: <https://pogostick.net/~pnh/ntpasswd>.
- List all users in the SAM file:
`chntpw -l {{path/to/sam_file}}`
- Edit [u]ser interactively:
- Edit user interactively:
`chntpw -u {{username}} {{path/to/sam_file}}`
- Use chntpw [i]nteractively:
- Use chntpw interactively:
`chntpw -i {{path/to/sam_file}}`