> For the complete documentation index, see [llms.txt](https://www.marialc.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.marialc.com/pentesterlab-labs/recon-badge/recon_21-check-branches-2.md).

# recon\_21 (check branches 2)

View the exercise here: [PentesterLab: Recon 21](https://pentesterlab.com/exercises/recon_21/course)

### **OBJECTIVE**

For this challenge, your goal is to look at the repository repo4 and check different branches.

### **WHY?**

It's important to look at all branches as they may be used to store sensitive information.

### **SOLUTION**

Open **`repo4`** of hackycorp

<figure><img src="https://290105472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F89FZKOizBQcf0e0Qdrp8%2Fuploads%2FHWgMvn4rjgoQ4YdNwEUJ%2FScreenshot_2024-08-22_at_12.18.27.png?alt=media&amp;token=d2989416-ed8c-47da-83dc-6db48fdf5938" alt=""><figcaption></figcaption></figure>

Check **`All`** Branches then select **`test`**

<figure><img src="https://290105472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F89FZKOizBQcf0e0Qdrp8%2Fuploads%2F4sw2VENDjVkGU4JOuRYf%2FScreenshot_2024-08-22_at_12.18.42.png?alt=media&amp;token=7c9eb39b-60f7-46b8-92e2-957453a32f9a" alt=""><figcaption></figcaption></figure>

Click **`KEY`**

<figure><img src="https://290105472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F89FZKOizBQcf0e0Qdrp8%2Fuploads%2FsuXiONkhJcnWT4y2ZQPC%2FScreenshot_2024-08-22_at_12.18.57.png?alt=media&amp;token=9291de29-4628-4d5b-b48d-bb18804db70e" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
We’ll see the key under the Code section.&#x20;
{% endhint %}

<figure><img src="https://290105472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F89FZKOizBQcf0e0Qdrp8%2Fuploads%2FiKT5DWSOiBOPGx6KFZ1e%2Fimage.png?alt=media&amp;token=add8a513-4c78-4c53-bb64-67dbd6a9ffce" alt=""><figcaption></figcaption></figure>
