From cb559cbad88b7e5bea52ea76d6b4077673846118 Mon Sep 17 00:00:00 2001 From: ciph3rz <46655414+ciph3rz@users.noreply.github.com> Date: Fri, 29 Oct 2021 17:30:21 -0400 Subject: [PATCH] chntpw: add page (#7248) --- pages/linux/chntpw.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pages/linux/chntpw.md diff --git a/pages/linux/chntpw.md b/pages/linux/chntpw.md new file mode 100644 index 000000000..6a98b0222 --- /dev/null +++ b/pages/linux/chntpw.md @@ -0,0 +1,17 @@ +# chntpw + +> 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: . + +- List all users in the SAM file: + +`chntpw -l {{path/to/sam_file}}` + +- Edit [u]ser interactively: + +`chntpw -u {{username}} {{path/to/sam_file}}` + +- Use chntpw [i]nteractively: + +`chntpw -i {{path/to/sam_file}}`