Unix 19

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

PRO
Tier
Easy
< 1 Hr.
15111
Unix Badge

In this challenge, you will practice logging in with the username and password "pentesterlab." The main task is to connect to a MySQL database using the root user, whose password is an anagram of "root." Once connected, you will explore the database to find the password for the admin user.

You will start by logging into the MySQL database using the command mysql -u root -p followed by the correct password. After successfully logging in, you will list the databases using show databases;, select one using use [database_name];, and then list the tables with show tables;. Finally, you will retrieve the rows and columns from the tables to find the admin user's password, which serves as the key for this challenge.

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