Cracking Files
Hunting for encoded files
Hunting for files
cry0l1t3@unixclient:~$ for ext in $(echo ".xls .xls* .xltx .csv .od* .doc .doc* .pdf .pot .pot* .pp*");do echo -e "\nFile extension: " $ext; find / -name *$ext 2>/dev/null | grep -v "lib\|fonts\|share\|core" ;doneHunting for SSH Keys
cry0l1t3@unixclient:~$ grep -rnw "PRIVATE KEY" /* 2>/dev/null | grep ":1"Hunting for archives
Download all file extensions
$ curl -s https://fileinfo.com/filetypes/compressed | html2text | awk '{print tolower($1)}' | grep "\." | tee -a compressed_ext.txtCracking using john
Cracking SSH keys
$ ssh2john.py SSH.private > ssh.hash
$ john --wordlist=rockyou.txt ssh.hash
$ john ssh.hash --show
SSH.private:1234
1 password hash cracked, 0 leftCracking Microsoft Office Documents
Cracking PDFs
Cracking ZIP
Cracking openssl encrypted archives
Cracking bitlocker encrypted drives
Mounting .vhd
Last updated