π― Objective: Discover GitLab instances, enumerate version information, and extract sensitive data from repositories including credentials and configuration files.
Overview
GitLab is a web-based Git repository hosting tool with wiki, issue tracking, and CI/CD capabilities. Often contains sensitive data, hardcoded credentials, SSH keys, and configuration files in public/internal repositories.
HTB Academy Lab Solutions
Lab 1: Version Enumeration
Question: "Enumerate the GitLab instance at http://gitlab.inlanefreight.local. What is the version number?"
Target:gitlab.inlanefreight.local (add to /etc/hosts)
π‘ Pro Tip: Always check both public repos and try to register for internal access - many GitLab instances allow open registration revealing additional sensitive repositories.