SSH PrivKey Passphrase
ssh2john
Hash:
> python ssh2john.py id_rsa > sshkey
> python /usr/share/JohnJumbo/run/ssh2john.py davidkey.pem > sshkey
Crack:
> john sshkey
> john --wordlist=/opt/wordlist/rockyou.txt sshkey
Tried Hashcat, but Didn't work for me:
sudo hashcat --force -m 500 -a 0 -O sshkey /opt/wordlist/rockyou.txt
----------------------------
alternate:
python sshng2john.py idrsa > sshkey
john sshkeyLast updated