Ansible Vault found

![[Pasted image 20240418124021.png]]

**1 Use hashcat to crack vault password

#Place each in own txt file. only remove spaces is neccesary
ansible2john file1 file2 file3>hashes/ansible.hashes

scp hashes/hash kraken:ansible.hashes

hashcat --username -m 16900 ansible.hashes /usr/share/wordlists/rockyou.txt -w4

**2 Use ansible-decrypt with vault password to decrypt

sudo apt install ansible-core
cat file1|ansible-vault decrypt

![[Pasted image 20240418151003.png]]