Niveau 8

Niveau 8

Level Goal

The password for the next level is stored in the file data.txt next to the word millionth

Commands you may need to solve this level

grep, sort, uniq, strings, base64, tr, tar, gzip, bzip2, xxd

Une fois connecté en tant que bandit7, on peut noter qu'en lançant une commande ls dans le répertoire home il y a un fichier data.txt. On peut utiliser la commande suivante pour connaitre le nombre de lignes présent dans le fichier :

bandit7@bandit:~$ wc -l data.txt
98567 data.txt

On peut utiliser grep pour trouver la ligne contenant le mot millionth :

bandit7@bandit:~$ grep -Hrn "millionth"
data.txt:37262:millionth    cvX2JJa4CFALtqS87jk27qwqGhBM9plV

Le mot de passe pour le prochain niveau est donc cvX2JJa4CFALtqS87jk27qwqGhBM9plV.