sudo apt update
sudo apt install john
/etc/shadow 복사본 또는 해시만 모은 파일)을 준비합니다.john --format=sha512crypt hash.txt
--format=sha512crypt: 해시 타입 지정 (SHA512 crypt 해시)hash.txt: 해시가 들어있는 파일명john --status
john --show hash.txt
--wordlist=/path/to/wordlist.txt : 단어 리스트를 이용해 크랙 (예: rockyou.txt)--rules : 단어 리스트에 변형 규칙을 적용해 크랙 시도예:
john --wordlist=/usr/share/wordlists/rockyou.txt --rules hash.txt