RSS Feeds
Posted in myProjects      No comments

Have you lost your SSH Key? You can bruteforce it with a simple bash script and a list of possible password ( in a simple plain text file).

This is the Script.. really simple!


#!/bin/bash
#CONFIGURATION
key_file=/home/gnuton/.ssh/id_dsa

echo "SSH Key Cracker..."
for i in $(cat wordlist);do
echo " > $i :"
ssh-keygen -p -t dsa -f $key_file -P $i
done

Post comment