Hack The Box - Sequel

Hack The Box - Sequel

Task 1

During our scan, which port do we find serving MySQL?
Answer: 3306

Task 2

What community-developed MySQL version is the target running?
Answer: MariaDB

Task 3

When using the MySQL command line client, what switch do we need to use in order to specify a login username?
Answer: -u

Task 4

Which username allows us to log into this MariaDB instance without providing a password?
Answer: root

Task 5

In SQL, what symbol can we use to specify within the query that we want to display everything inside a table?
Answer: *

Task 6

In SQL, what symbol do we need to end each query with?
Answer: ;

Task 7

There are three databases in this MySQL instance that are common across all MySQL instances. What is the name of the fourth that's unique to this host?
Connect mysql:
List databases:
notion image
Answer: htb

Task 8

Submit root flag
notion image
notion image
notion image
Congratulations! You got the flag!
Answer: 7b4bec00d1a39e3dd4e021ec3d915da8

Khang Hy

Mon May 08 2023