Unix 10

This exercise is one of our challenges to help you learn more about Unix/Linux

PRO
Tier
Easy
< 1 Hr.
18925
Unix Badge

In this challenge, you will log in to the system using the credentials pentesterlab for both the username and password. The task involves locating and extracting a file named backup.tgz left in the /tmp directory by the user root. The /tmp directory is often used for temporary storage and file sharing because it is accessible to everyone and is usually cleaned up after each reboot.

By examining the file permissions of /tmp, you will learn that it is a directory with read, write, and execute permissions for everyone, and it has the sticky bit set. This setting ensures that only the file creator or the directory owner can delete or modify the files within. The backup.tgz file is a compressed tar archive, and your goal is to decompress it to find the key inside. Remember to remove any files you create during this process.

Want to learn more? Get started with PentesterLab Pro! GOPRO