mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
chntpw: switch http to https and remove redundant mnemonics (#13917)
This commit is contained in:
parent
ab7f00de76
commit
b4503ff9d3
1 changed files with 3 additions and 3 deletions
|
@ -2,16 +2,16 @@
|
||||||
|
|
||||||
> A utility that can edit windows registry, reset user password, promote users to administrator by modifying the Windows SAM.
|
> 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.
|
> 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:
|
- List all users in the SAM file:
|
||||||
|
|
||||||
`chntpw -l {{path/to/sam_file}}`
|
`chntpw -l {{path/to/sam_file}}`
|
||||||
|
|
||||||
- Edit [u]ser interactively:
|
- Edit user interactively:
|
||||||
|
|
||||||
`chntpw -u {{username}} {{path/to/sam_file}}`
|
`chntpw -u {{username}} {{path/to/sam_file}}`
|
||||||
|
|
||||||
- Use chntpw [i]nteractively:
|
- Use chntpw interactively:
|
||||||
|
|
||||||
`chntpw -i {{path/to/sam_file}}`
|
`chntpw -i {{path/to/sam_file}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue