Đây là một cách đơn giản để crack mật khẩu thông qua chương trình “john” trên Kali.
B1: Tạo một file txt chứa user và password.
Mình dùng ứng dụng Leafpad tạo một file “adminpassword.txt” có cấu trúc như ảnh bên dưới và đặt trong thư mục Home > Documents > password. Sau đó vào trong thư mục password và nhấp chuột phải, chọn Open in Terminal.
B2: Chạy câu lệnh john.
john –format=raw-MD5 adminpassword.txt
Kết quả:
1 2 3 4 5 6 7 8 9 |
root@kali:~/Documents/password# john --format=raw-MD5 adminpassword.txt Using default input encoding: UTF-8 Loaded 1 password hash (Raw-MD5 [MD5 128/128 AVX 4x3]) Press 'q' or Ctrl-C to abort, almost any other key for status test123! (admin) 1g 0:00:04:15 DONE 3/3 (2016-09-28 11:56) 0.003917g/s 17545Kp/s 17545Kc/s 17545KC/s test1237..test1211 Use the "--show" option to display all of the cracked passwords reliably Session completed root@kali:~/Documents/password# |
Recent Comments