The Tool Desk
Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →To solve HTB Busqueda without Metasploit, follow the documented chain: exploit command injection in the web application for a user foothold, recover credentials from a Git configuration file, use them to access local Gitea, enumerate Docker containers for Gitea administrator credentials, then inspect the privileged system-checkup script for a relative-path weakness that enables root-level execution. The exact payload, vulnerable line, and command sequence are not established by the cited machine synopsis, so verify those details on the target rather than treating a copied command as guaranteed.
Hack The Box classifies Busqueda as an Easy Linux machine and marks it retired. Its machine page displays the release date as 08/04/2023; the page result does not establish the date locale, so that format should not be silently converted. The walkthrough below follows the official high-level attack chain while focusing on manual inspection and ordinary shell interaction, not a prescribed toolset.
As an Amazon Associate I earn from qualifying purchases.
1. Identify the web application and locate the foothold
Start with service enumeration: identify reachable services, then inspect the website and its pages for the application name, version, and how user input is handled. The official synopsis says the foothold is command injection in a Python module, but its returned text does not name that module. A third-party Busqueda writeup identifies Searchor 2.4.0; treat that as a lead, not confirmation. Check the machine’s own application evidence before relying on a version-specific exploit.
PC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Crashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteCommand injection occurs when an application builds a system command using untrusted input without safely separating data from executable syntax. In a search feature, for example, the key question is whether submitted text is passed into a shell command and whether shell metacharacters can change what the server executes. Do not assume a particular input field or payload from the product name alone: inspect the application behavior and source or advisory information available to you, and validate any hypothesis carefully.
#1 Best Overall
HTB’s synopsis characterizes the resulting access as user-level. Once you have a foothold, use the available shell to establish who you are and where you landed, then inspect the account’s accessible files and configuration. If the initial interaction is fragile, work toward a more usable session only with techniques supported by the target’s environment; no specific stabilization command is established by the official synopsis.
2. Find the Git configuration credentials
The next documented pivot is credential discovery in a Git configuration file. Inspect repository and user configuration available to the compromised account, especially places where Git may retain an identity or authentication setting. Treat any discovered secret as machine-specific: use it only to test access on this lab, and do not publish passwords or flag contents.
Keep a simple record of which account each credential belongs to and where it was found. In this chain, that matters because the credentials lead to a separate local service rather than directly proving administrative access to the host.
3. Use the credentials to reach local Gitea
HTB’s synopsis says the recovered credentials permit access to a local Gitea service. Enumerate the host’s local services and determine how Gitea is exposed from the machine; the synopsis does not give a port, URL, or exact login procedure. Try the recovered credentials in the context indicated by the service, then inspect repositories and account-visible material for clues about the next step.
Keep the evidence transitions separate: the Git configuration file supplies one set of credentials; Gitea access provides a place to investigate further; the later Docker enumeration reveals credentials for Gitea’s administrator account. The first credential discovery should not be mistaken for the final administrator credential.
4. Run the permitted system-checkup script and enumerate Docker
The official route next involves a system-checkup script that can be run with root privileges for a specific user, followed by Docker-container enumeration. Inspect the script and its invocation context rather than assuming that merely finding a root-owned utility means you can execute arbitrary commands. Determine which arguments it accepts, which operations it performs, and what identity or privilege is actually used.
Rank #4
- Used Book in Good Condition
Container metadata and configuration can expose credentials or environment values that explain how a service is deployed. In Busqueda’s documented chain, this investigation yields credentials for Gitea’s administrator account. Handle them as lab secrets and use them to inspect the relevant Gitea account or repository material. The synopsis does not specify the container name, exact inspection command, or credential value.
Recommended Free Tools
5. Inspect the script for the root-level path weakness
The final step is not simply “run Docker” or “become root.” HTB says source analysis of the system-checkup script in a Git repository reveals a relative-path reference weakness, allowing root-level remote code execution when the script is run with root privileges for the specific user. The critical question is what executable or file the script refers to by a relative name, and how the process resolves that name in its execution environment.
A relative path does not identify a file from a fixed absolute location. Its resolution depends on context, such as the process’s working directory or, for command names, the search path. If a privileged script resolves a command through an attacker-influenced location, an attacker may be able to cause the privileged process to execute an unintended file. The exact vulnerable line, required directory, and command are not included in the official synopsis; confirm the script’s actual behavior before deciding which condition applies.
For a sound analysis, trace the script from its entry point: note the privilege boundary, each external command or relative reference, and the environment or directory that affects resolution. Then explain why the relevant file can be influenced by the lower-privileged user and what privilege the resulting process inherits. This is the reasoning that turns a suspicious script into a defensible root-escalation finding, rather than relying on an unverified command recipe.
What this route teaches
- Validate the foothold: identify the application and confirm unsafe command construction instead of assuming a version or payload.
- Track credentials by context: distinguish the Git configuration credentials from the later Gitea administrator credentials.
- Follow local-service clues: Gitea access and container configuration are separate investigation steps in the documented chain.
- Read privileged code: a relative-path reference is dangerous only when its resolution and execution context give an attacker meaningful control.
For broader learning context, Hack The Box describes Academy as a platform for developing penetration-testing skills and describes machine writeups as walkthroughs of exploit processes and concepts: HTB Academy overview and HTB writeup guidance.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




