Unix 17

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

< 1 Hr.
Unix Badge


This challenge involves logging into a server using the username "pentesterlab" and the password "pentesterlab." Your primary objective is to locate and retrieve the password for the Tomcat administrator, "admin." Tomcat's configuration is typically stored in specific directories, either where Tomcat is installed or in a directory starting with "tomcat" located in "/etc/".

To achieve this, you need to find the file named "tomcat-users.xml" using the "find" command. Once located, you can extract the admin password from this file. This exercise demonstrates the importance of thoroughly searching for credentials on compromised systems, which can be leveraged to gain further access or attack other systems within the same organization.

Want to learn more? Get started with PentesterLab Pro! GO PRO