
Hack the Box (HTB) machines walkthrough series — Gitlab
Today, we will be continuing with our exploration of Hack the Box (HTB) machines, as seen in previous articles. This walkthrough is of an HTB machine named Gitlab.
HTB is an excellent platform that hosts machines belonging to multiple OSes. It also has some other challenges as well. Individuals have to solve the puzzle (simple enumeration plus pentest) in order to log into the platform and download the VPN pack to connect to the machines hosted on the HTB platform.
The walkthrough
Note: Only write-ups of retired HTB machines are allowed. The machine in this article, named Gitlab, is retired.
Let’s start with this machine.
- Download the VPN pack for the individual user and use the guidelines to log into the HTB VPN.
- The Gitlab machine IP is 10.10.10.114.
- We will adopt the same methodology of performing penetration testing as we’ve previously used. Let’s start with enumeration in order to gain as much information about the machine as possible.
- As usual, let’s start with the nmap scan to gather more information about the services running on this machine. [CLICK IMAGES TO ENLARGE]<<nmap -sC -sV -oA Gitlab 10.10.10.114>>
- As we can see, ports 20 and 80 are opened from the initial enumeration. Let’s start enumerating with port 80.
- On port 80, we got a login page, which means we have to start enumeration directories.
- Before we start using tools, there are some default Gitlab directories that we can also look at.
- Looking at the help directory reveals a bookmark.html.
- Looking into the bookmark.html and clicking Gitlab login, nothing happened.
- Let’s look into the source code. Doing so, we found some hex-encoded strings.
- Cleaning that a bit and an online decoder reveals (Read more...)
*** This is a Security Bloggers Network syndicated blog from Infosec Resources authored by Security Ninja. Read the original post at: http://feedproxy.google.com/~r/infosecResources/~3/3PVSzBSBdeo/