Skip to main content
Sequel
  1. Posts/

Sequel

·194 words·1 min·
V1c70r_n00b
Author
V1c70r_n00b
Isaiah 6:8
Table of Contents

Introduction
#

Untitled.jpg

Task 1
#

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

image.png

3306

Task 2
#

What community-developed MySQL version is the target running?

image.png

MariaDB

Task 3
#

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

image.png

-u from Mysql

Task 4
#

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

image.png

root

Task 5
#

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

image.png

Task 6
#

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

image.png

;

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?

image.png

htb

To get the root flag, we had to enumerate the htb box as shown below and we found our flag.

We have two tables, users and config.

image.png

Selecting the data in users, we found nothing of interest, aside form the users

image.png

But for the config table, we found our flag

image.png

Related