password

剧集列表

使用命令

chntpw -h
chntpw: change password of a user in a Windows SAM file,
or invoke registry editor. Should handle both 32 and 64 bit windows and
all version from NT3.x to Win8.1
chntpw [OPTIONS]  [systemfile] [securityfile] [otherreghive] [...]
 -h          This message
 -u    Username or RID (0x3e9 for example) to interactively edit
 -l          list all users in SAM file and exit
 -i          Interactive Menu system
 -e          Registry editor. Now with full write support!
 -d          Enter buffer debugger instead (hex editor), 
 -v          Be a little more verbose (for debuging)
 -L          For scripts, write names of changed files to /tmp/changed
 -N          No allocation mode. Only same length overwrites possible (very safe mode)
 -E          No expand mode, do not expand hive file (safe mode)

实战

用U盘安装kali,并启动启动。将 Sam 文件复制到kali 桌面,或者用U盘启动工具复制Sam文件到U盘,然后在复制到kali中。

列出所有用户

chntpw –l 

修改用户名密码

chntpw –u  


键入与我们所需任务相对应的数字即可。在这里,我们正在更改密码。因此,键入"2"。

然后,该工具将要求键入新密码。只需键入它,然后按回车键。然后它会询问我们是否要保存密码。按 y 保存新密码。现在,我们便更改了 SAM 文件中的密码。

最后修改:2023 年 08 月 04 日
如果觉得我的文章对你有用,请随意赞赏