正在播放:
抱歉 Louis C.K.: Sorry (2021)
剧集列表
使用命令
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 文件中的密码。
版权属于:逍遥子大表哥
本文链接:https://blog.bbskali.cn/3029.html
按照知识共享署名-非商业性使用 4.0 国际协议进行许可,转载引用文章应遵循相同协议。
此处评论已关闭